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)

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

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