XrmDefinitelyTyped icon indicating copy to clipboard operation
XrmDefinitelyTyped copied to clipboard

Retrieve using alternate key

Open mktange opened this issue 8 years ago • 0 comments

In the Web API you can retrieve records using alternate keys instead of GUIDs, as seen in the docs.

How the function call could look like:

XrmQuery.retrieveAlt(x => x.accounts_$MyAltKey).executeWith({ accountnumber: "123" })

This call should of course provide some of the same functionality as the regular XrmQuery.retrieve() function in XrmQuery, such as selecting and expanding attributes.

mktange avatar Jun 21 '17 09:06 mktange