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
    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
    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
    gupta.ambar2009@gmail.com Profile Picture
    797 on at
    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
    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
    1,025 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
    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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans