« Import Organization Issue - Would you please upgrade my reports? | Main | CRM 2011 - From Alpha to Beta with little Theta and lots of Delta »

07/18/2010

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Aaron Elder

I have not tested it with IFD. IFD uses cookie-based authentication, I would assume that if the URL of the CrmService is the same that IE's XMLHTTP object would properly pass the cookie. You might need CrmAuthenticationToken AuthenticationType from "0" (AD) to "2") SPLA aka IFD.

http://msdn.microsoft.com/en-us/library/bb955408.aspx


Regarding Invalid argument, can you tell if this is coming from the server or the client? If it is coming from CRM, then you can turn on CRM Tracing and see the full call stack, you probably have malformed FetchXML (which is easy to mess up).

Aidal

I'm seeing something odd when trying to use the service.
I'm attempting to use Fetch() from either the form of a salesorder or from ISV.config via a button on the salesorder form toolbar - but neither will work.

I have tried to manipulate the sample html page to use my fetchXml instead of the original sample one and that works just fine, but when I try from both of the stated locations, I get an "Invalid Argument" exception although the code is exactly the same.

I even tried alerting the ServerUrl, Organization and fetchXml before sending it, to make sure it is correct and it all looks good.

So why am I getting this error? Is it some kind of CRM security messing with me?

PS. I do have other js code using the service from ISV.config though not the Fetch() method but creating a new entity and this works just fine.

Any ideas and thoughts on this would be much appreciated.

/Aidal

Nick

This is awesome, I use this library a lot! However I was wondering if there was a special way to make it work for IFD?

Cheers
Nick

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.