web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • Suggested answer
    Flydancer Profile Picture
    1,332 on at

    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();
            }
        }
    }


  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at

    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();

  • Harish Parthiban Profile Picture
    20 on at

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

  • Suggested answer
    gupta.ambar2009@gmail.com Profile Picture
    797 on at

    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

    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'

  • MichaelT Profile Picture
    10 on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans