FetchXMLBuilder icon indicating copy to clipboard operation
FetchXMLBuilder copied to clipboard

ExecuteFetchRequest is deprecated, change "Raw result" code

Open rappen opened this issue 2 years ago • 0 comments

I guess the "Raw result" is no more possible, as they all response an EntityCollection now.

Either change Raw result if possible, or add a warning about deprecated, or simply remove this feature.

Comment below:


Ah, that would explain. Another message, hence why the RetrieveMultiple was never triggered. Good to know :)

Maybe on a (small) sidenote: ExecuteFetchRequest is actually deprecated, but apparantly it still works :) But that also means the "Raw result" is not the preferred way to go.

https://docs.microsoft.com/en-us/dotnet/api/microsoft.crm.sdk.messages.executefetchrequest?view=dataverse-sdk-latest

Deprecated. Use the [RetrieveMultipleRequest](https://docs.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.messages.retrievemultiplerequest?view=dataverse-sdk-latest) class.

Originally posted by @chironh in https://github.com/rappen/FetchXMLBuilder/discussions/725#discussioncomment-2870920

rappen avatar Jun 02 '22 14:06 rappen