web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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

I have the same question (0)
  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    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
  • Community Member Profile Picture
    on at

    Thanks problem is I cannot write script!!!

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    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

    Ok thank you for your quick reply.

  • Verified answer
    Kokulan Profile Picture
    18,054 on at

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

    Thanks

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans