0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Convert a FetchXML query to a query expression with the FetchXmlToQueryExpressionRequest message.

Last updated at Posted at 2022-06-22

Execute the FetchXML query
You can execute a FetchXML query by using either the Web API or the Organization service.

Using Web API
You can pass a URL encoded FetchXml string to the appropriate entityset using the fetchXml query string parameter. More information: Use custom FetchXML.

Using Organization service
Use the IOrganizationService.RetrieveMultiple method passing an FetchExpression where the Query property contains the FetchXml query.

The following code shows how to execute a FetchXML query using the Organizations service:

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?