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

FetchXML generated from view does not expand related entities

$
0
0

I generated fetchXML in Advanced find, which replicates the "My appointments" form, showing the appointment name, date, status, required attendees etc.

In CRM, the required attendees names show in the form without any additional effort, but the fetchXML that generates this form doesnt return the required attendees. I included the header names.odata.include-annotations="*" but it didnt help like i expected.

Do I need to perform additional steps to get the associated required attendees names (remember the required attendees can be a contact, appointment or other entities).

The fetch generated by CRM is below:

<fetch version="1.0" mapping="logical" distinct="true"><entity name="appointment"><attribute name="subject" /><attribute name="scheduledstart" /><attribute name="scheduledend" /><attribute name="regardingobjectid" /><attribute name="prioritycode" /><attribute name="instancetypecode" /><attribute name="location" /><attribute name="requiredattendees" /><attribute name="createdon" /><attribute name="statecode" /><attribute name="activityid" /><order attribute="scheduledstart" descending="false" /><link-entity name="activityparty" from="activityid" to="activityid" alias="ab"><filter type="and"><condition attribute="participationtypemask" operator="in"><value>7</value><value>9</value><value>5</value><value>6</value><value>8</value></condition></filter></link-entity></entity></fetch>

Viewing all articles
Browse latest Browse all 79901

Latest Images

Trending Articles



Latest Images

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