Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

ExecuteByIdUserQueryRequest xml (string) results to EntityCollection

$
0
0

Hi all,

I want to minimize my QueryExpression codes by using "SystemViews" or "User Views (saved advanced find queries)", so need to use "ExecuteByIdUserQueryRequest" (https://msdn.microsoft.com/en-us/library/microsoft.crm.sdk.messages.executebyiduserqueryrequest.aspx) .

However this returns dataset with Xml (string) and I can not use it, in SDK notes,

This message returns a String type that specifies the XML data containing the results of the query. This XML string is in the following format:

<resultset> + <result>result1</result><result>result2</result> + ... + </resultset>


How can I convert this Xml dataset to EntityCollection or List<Entity>

Thank you


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>