I m doing XrmServiceToolkit.Soap.Fetch request in web resource and it is returning a result:
Query
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false" > <entity name="productpricelevel" > <attribute name="productpricelevelid" /> <filter type="and" > <condition attribute="productpricelevelid" operator="eq" value="D1E5EFE3-F48B-DE11-A931-005056C00008" /> </filter> <link-entity name="product" from="productid" to="productid" > <attribute name="name" /> <attribute name="price" /> </link-entity> </entity> </fetch>
Results (in FetchXmlTest tool)
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false" > <entity name="productpricelevel" > <attribute name="productpricelevelid" /> <filter type="and" > <condition attribute="productpricelevelid" operator="eq" value="D1E5EFE3-F48B-DE11-A931-005056C00008" /> </filter> <link-entity name="product" from="productid" to="productid" > <attribute name="name" /> <attribute name="price" /> </link-entity> </entity> </fetch>
Can you please guide how I can read values from results ? I need to save these values into JS variables.
Kindly help
*This post is locked for comments