Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Refresh a View within a Quick View Form within an Interactive Experience Form Tab, Using Javascript(and hey, without Xrm.Page which is technically deprecated)

Posted on by 30

The essence of what I am trying to do is click the refresh button (WITH Javascript) on this View when the larger Quick View Form is loaded within the Order Reference Panel, all of which is nested within the Sales section of the Account Interactive Experience Form. 

In only mention the nesting because, the jScripts can't be registered on the Order Quick View Form, which houses the Order Product View in question. 

4505.Capture.PNG

As you can see, this View already possesses a "Refresh" Button (to the left of "Run Report"). What I want to do is trigger this refresh when the larger Order Quick View Form (which is what that View is nested in) is loaded. 

Several caveats, as I understand it. The Order Quick View Form, which is the one found within this reference panel, is unable to have scripts attached to it, as this is the nature of Quick View Forms (they are only meant to be viewed). Which appears to only leave the option to attach any Javascript to the larger Account Interactive Experience Form in which this Reference Panel lives. 

However, from within the scope of the larger Account Interactive Experience Form, it is unclear how specifically to target the Order Product View and on which event within the Account Interactive Experience. 

The larger context of this problem is that the Order Product View within the Order Quick View Form does not refresh its values when opening another Order Quick View form from the Sales Reference Panel. As a result, the manual refresh button must be pressed each time to retrieve the pertinent values.

Please advise. Thanks

*This post is locked for comments

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans