Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Subgrids not loading the records, showing the link

(0) ShareShare
ReportReport
Posted on by 111

8372.Screenshot_5F00_4.png

Hi all i am getting this following error in the subgrid

"To load [EntityName] records, click here"

is there anyway to resolve this issue.

Thanks.

*This post is locked for comments

  • MichaelT Profile Picture
    MichaelT 10 on at
    RE: Subgrids not loading the records, showing the link

    Still have this issue on Version 1612 (8.2.7.13) *DB 8.2.7.13) on-premises

    Is there any additional help to resolve this?  Some users just started having this issue a week ago in different cities but not all users in all cities. Us few admin do not have this issue so it is difficult to diagnose. User has same issue for production, including incognito window and different browser. They do not have this issue in TEST environment. Our production and test environment have the same setting for legacy rendering.

  • Harish Parthiban Profile Picture
    Harish Parthiban 20 on at
    RE: Subgrids not loading the records, showing the link

    Hi,

    This is a new custom entity and the form is very simple. we have just three subgrids and one subgrid of account entity is taking time to load. If I change the subgrid to 'fetch all records' instead of 'only related records' it is loading quickly. The problem is existing only if I have the subgrid to fetch 'only related records'

  • Suggested answer
    RE: Subgrids not loading the records, showing the link

    Hi,

    Basically possible reason for theses type of error is when have high customization in the form which taking some time to load page and internet connectivity is slow on that time.

    write some page load refresh script which will refresh the page one time while first load .  

  • Harish Parthiban Profile Picture
    Harish Parthiban 20 on at
    RE: Subgrids not loading the records, showing the link

    Facing the same issue. Could you please tell me how this was resolved.

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 1,019 Super User 2025 Season 1 on at
    RE: Subgrids not loading the records, showing the link

    Hi Amos Dave,

    Are there more than four sub-grids on the form?

    Older versions of CRM only retrieve data for the first four sub-grids on a form automatically. This is to reduce the impact on the server of executing all of the sub-grid queries at the same time.

    If you want to load the grids after the fourth sub-grid, then you can force the sub-grid to load with JavaScript.

    Xrm.Page.ui.tabs.get("<TabName>").sections.get("<SectionName>").controls.get("<Subgrid_Name>").refresh();

  • Suggested answer
    Flydancer Profile Picture
    Flydancer 1,332 on at
    RE: Subgrids not loading the records, showing the link

    Did you try to clear browser cache or using inkognito mode? If this problem persists on multiple clients it's probably a server issue - did you check the eventlog?

    you can use the following script as a quick-fix until you find the reason:

    function Form_OnLoad() {
        setTimeout("LoadSubGrids();", 2000); //need delay to work properly
    }
    
    function LoadSubGrids() {
        var grids = Xrm.Page.ui.controls.get(function (ctrl, index) {
            return (ctrl.getControlType() == "subgrid");
        });
    
        if (grids.length > 0) {
            for (var i in grids) {
                grids[i].refresh();
            }
        }
    }


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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans