Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Sub grid to update each time a field is updates

(0) ShareShare
ReportReport
Posted on by

I have added a field to the Contact entity called Website Downloads. This field is updated every time a client clicks on our website but what I want to do is have a sub grid within the Contact form that shows what this entry is each time it's updated. Then I ideally need this in a view with the contacts name and a list of the downloads so I can do an advanced find on the field. Any ideas please. PS I have tried to add a new entity that links to this field but the problem is you cannot do an OR on an Advanced find for 2 separate entities so back to square one. 

*This post is locked for comments

  • Verified answer
    Kokulan Profile Picture
    18,054 on at
    RE: Sub grid to update each time a field is updates

    If this has answered your question could you please mark as verified so that it could help other members in the community

    Thanks

  • Community Member Profile Picture
    on at
    RE: Sub grid to update each time a field is updates

    Ok thank you for your quick reply.

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at
    RE: Sub grid to update each time a field is updates

    I dont think you will be able to do this without custom script as Dynamics 365 out of the box does not have this refreshing feature. Once you opened a form, the subgirds wont refresh unless we add any items from the form or if we refresh manually.

  • Community Member Profile Picture
    on at
    RE: Sub grid to update each time a field is updates

    Thanks problem is I cannot write script!!!

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at
    RE: Sub grid to update each time a field is updates

    What about if you can have the following script on onload of the the main entity form to do an auto refresh of the subgrid every 

    OnLoad = function()
    {
    	setTimeout(SubGridRefresh, 60000);
    }
    
    SubGridRefresh = function()
    {
    	var gridControl = Xrm.Page.ui.controls.get("yousubgridname");
    	if (gridControl != null)
    	{
    		gridControl.refresh();
    		setTimeout(SubGridRefresh, 60000);
    	}
    }

    Hope this helps

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 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…

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 54

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans