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
If this has answered your question could you please mark as verified so that it could help other members in the community
Thanks
Ok thank you for your quick reply.
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.
Thanks problem is I cannot write script!!!
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
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
54
Victor Onyebuchi
6