XrmDefinitelyTyped icon indicating copy to clipboard operation
XrmDefinitelyTyped copied to clipboard

XrmQuery.retrieve should take a XQW.Guid or at least call XQW.stripGUID on the id

Open thedrlambda opened this issue 4 years ago • 1 comments

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.

thedrlambda avatar Oct 11 '19 11:10 thedrlambda

It seems this is only an issue in WebUI, although I still think it is safer to always strip ids.

thedrlambda avatar Oct 11 '19 12:10 thedrlambda