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

Convert CRM 2011 FetchXML to to XML file?

$
0
0

Hello All,

       I  have a fetchxml like below

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="account">
<attribute name="name" />
<attribute name="primarycontactid" />
<attribute name="telephone1" />
<attribute name="accountid" />
<order attribute="name" descending="false" />
<filter type="and">
<condition attribute="ownerid" operator="eq" uiname="Ramakanta" uitype="systemuser" value="{C58BB8C2-E6AB-E611-80BA-00155DF0A51F}" />
</filter>
</entity>
</fetch>

 

Now i want  simply read the value present in ownerid(i.e.uiname ).I don't want execute the query and  retrieve the result using service.RetriveMultiple();

What i am thinking is converting the Fetchxml into xml then reading the node but i am  not getting the inner xml value.

 


Viewing all articles
Browse latest Browse all 46379

Trending Articles



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