The Microsoft Dynamics CRM Team Blog
News and views from the Microsoft Dynamics CRM Team
Why do I not see any linked entity columns data in either advanced find or by customizing system views for Activities (Emails/Appointments etc…) (after adding related entity columns)?
Microsoft Dynamics CRM 4.0's FetchXML does not retrieve Link-Entity data for all activity entities (Appointment, E-Mail, Fax, Phone call, etc.)
When you use advanced find or customize the out of box views to add linked entity columns, say for e.g.: on an appointment you add the regarding Lead’s company name, this column comes up blank.
We currently use QueryExpression and this has a limitation of not handling linked entity column set so all the linked entity columns are returned blank. CRM platform code does not return any party info data in case we use EntityExpression as it removes them in ProcessAggregates extension.
In case we have any linked entity columns the fix now uses EntityExpression and this successfully retrieves the linked entity columns data. Now come the party info fields which will not be returned if we use EntityExpression.
This fix checks if the fetch has any party info fields and if so, only then makes an additional call to Activity Service to get the party info for the retrieved activity ids returned by the EntityExpression above. The list of activity ids for which we need to retrieve the party info fields is limited to the page size of records which has a default value of 25 and a maximum of 250 records. This additional call will be made only if the fetch has any linked entity columns.
Where can I download this fix from?
The KB number for this bug is 959419 and this is part of CRM 4.0 UR2 and please contact your support personnel if you need more details on downloading this fix.
EntityExpression is exposed through SDK as Fetch. CRM Application (UI) which was using the QueryExpression has linked entity column limitations and so we now use the EntityExpression internally to resolve this issue of being able to handle linked entity columns with this fix but we have to make an additional call as mentioned in this blog to retrieve the party list info since this is a current CRM platform limitation of EntityExpression to pull party list fields like required attendees, option attendees, from of an email, to list of an email (Email recipients).
In V5 there is a possibility that the Fetch is enhanced to retrieve party list information in which case, users of SDK can use Fetch to get the party list info and similarly the CRM Application which is using the EntityExpression instead of a QueryExpression in this fix will start benefiting by not having to make another additional call using QueryExpression to ActivityService to get the party list fields.
PingBack from http://windows7news.com.au/2009/01/22/linked-entity-column-data-in-advanced-find/
Thanks for the information regarding this issue.
We have also a similar problem with viewing activities on linked userdefined entities, e.g. you have a 1:n entity to account and this activity is not listed the standard activity form.
Is there also a fix or workaround ?
Thanks for your help,
Can you please post detailed repro steps for the issue you mentioned above and I will take it from there.
Hi I have experienced this problem and have installed rollup 2 for both server and client however I still have the issue if I am offline. Please can you advise whether a fix is available for offline and if so where to get it and how to apply it.
Does this issue also apply to fields when viewing an activities from within CRM Workplace?
Having added phonecalls to the Workplace via SiteMap.xml, the Sender and Recipient columns are blank.
The data is returned however when looking at the same view using Advanced Find.
I have Rollup 5 applied so assume that this fix is included with that.
Thanks for any advice
I have the same problem as Kelvin previously described. Having added Letters to the Workplace via SiteMap.xml for easier access and to place Letter-specific buttons on the Grid form, the Recipient field comes up blank in the grid. Monitoring using a plugin It seems recipients are fetched, but they are not displayed?! We need to have recipients in the grid for export to excel, etc!
We are on rollup 3 by the way.
Would appreciate feedback on this :-)