XrmDefinitelyTyped
XrmDefinitelyTyped copied to clipboard
XrmQuery.retrieve should take a XQW.Guid or at least call XQW.stripGUID on the id
Having TS that is called from a ribbon button on a subgrid. You get as input an array of id's, calling XrmQuery.retrieve directly on these id's fail due to the {}. I think XrmQuery should be defensive enough to handle this either by taking a XQW.Guid instead of a string or at least calling XQW.stripGUID on the id. In general I think everywhere we get id's we should strip them.
It seems this is only an issue in WebUI, although I still think it is safer to always strip ids.