Hello,
I wanted to draw attention to the following issue you might encounter while trying to use the Activities timeline in the Unified Client (UCI).
Problem
Timeline in UCI does not render displaying the following error: "Records could not be loaded because of an unexpected error". This looks like this:
This is because a call to get data for the timeline is failing with this error:
{"error":{"code":"0x8004430d","message":"Number of link entities in query exceeded maximum limit.","innererror":{"message":"Number of link entities in query exceeded maximum limit."
This is a limitation of the timeline control which our team is addressing right now. There is a QueryLinkEntityLimit setting and going over that limit results in the error.
Link-entities come both from out-of-the-box activities as well as custom activities.
Customers can add extra link-entities by doing the following customization to the timeline: using card forms for custom activities.
Solution
Solution 1
You can contact the customer support and provide the details about this error and ask them to increase the QueryLinkEntityLimit setting for your organization.
Note: This setting will affect all calls in the organization that have link-entities and might decrease performance for calls that have very high link-entity count. However, the performance hit should not be significant if we are increasing the limit by a single digit.
Solution 2
If the customer has created custom activities and is using card forms for them, they can disable the card forms in order to reduce the number of link-entities in the batch request. This can be achieved by doing the following steps:
- Go to the Timeline settings for UCI (on the form editor of the entity with issues, double click on the timeline section and the settings should open).
- In the Activities tab, Additional Options section, look for all custom activities that have a card form.
- Change the selection to 'Select Card Form' - this will disable the card form.
It is also possible to not include a custom activity at all in the timeline if it is not useful:
- Go to the Timeline settings for UCI.
- In the Activities tab, Filter By section, instead of 'Show all' select 'Show selected'.
- Deselect the custom activities that are going to be removed from the timeline.
Support article: https://support.microsoft.com/en-us/help/4480001/timeline-does-not-render-and-shows-records-could-not-be-loaded
Thank you!
*This post is locked for comments