Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 137182

Forum Post: FetchXML and PHP Link-Entity Data

$
0
0

I'm accessing CRM Online 2011 using PHP and FetchXML and I want to get data from a linked entity. I'm using the code from the Developer Training Kit's PHP example. I can retrieve the data from the main entity fine, but I can't figure out how to access the data for the linked entity and I'm not receiving any errors.

This is how I retrieve the response, but it doesn't contain the link entity data:

$response =  LiveIDManager::GetSOAPResponse("/Organization.svc", $domainname, $CRMURL, $entityRequest);

Here's the FetchXML for the Link-Entity:

'<link-entity name="new_subdivision" from="new_subdivisionid" to="new_subdivision" visible="false" link-type="outer" alias="city">&#xD; <attribute name="new_city" />&#xD; </link-entity>&#xD;

Thanks for any help.


Viewing all articles
Browse latest Browse all 137182

Trending Articles



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