Skip to main content

Notifications

Customer Service forum

KPNS: Timeline does not render displaying the error "Records could not be loaded because of an unexpected error”

Posted on by

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:

timeline-error.png

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:

  1. 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).
  2. In the Activities tab, Additional Options section, look for all custom activities that have a card form.
  3. 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:

  1. Go to the Timeline settings for UCI.
  2. In the Activities tab, Filter By section, instead of 'Show all' select 'Show selected'.
  3. 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!

Categories:

*This post is locked for comments

  • RE: Timeline does not render displaying the error "Records could not be loaded because of an unexpected error”

    Thanks Rux for posting this Known Problem and Solutions  post here as well to give maximum visibility to our customers.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,902 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,297 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans