08-31-2009 09:28 AM
You have 2 options...
08-31-2009 09:31 AM
The sData "protocol" is simply RESTful web services based. You can form the URI strings yourself but will have to deal with the returning "payload" (in atom xml or JSON).
With the release of SP2 (in beta) there have been changes in sData (in the request as well as payload). SP2 will have a set of .NET libraries for use by apps to isolate you from potential future changes.
FYI: Consider sData in SP1 as a prelim... (ex: .9 release) and sData in SP2 as 1.0. I suggest you take a look at the SP2 beta forum for additional info.
09-01-2009 10:52 PM
Both solutions suggested are correct. Depending on where you want to access the data. If you are accessing from an external website I'd look at our SData API. If you are internal to the Client I would follow Gene's advice.
John PeronaDirector, Infor CRM Development
01-26-2012 08:16 AM - edited 01-26-2012 08:19 AM
I try to use a named query, using Gene's code as an example.
What I do not understand in the example: Where is the definition of the query? I see a query Oppo28Target is executed, but where is it defined?
I see the server side code example - but I like to execute the query in a client script. At which time do I have to write the serverside script?
Thanks for your help.