Notifications
Announcements
No record found.
Hi
I want to call a function in many forms at once how it can be done.
Thanks
Hi EKL,
You will need to add the JavaScript to each form individually. This article explains how to do this.
Regarding your question about wanting multiple forms to execute the same function, this is supported.
We can use Ribbon Workbench's edit button feature to add a hidden button to the CRM ribbon and put the functions we need to execute into a custom rule. This button will be used by all forms that use the ribbon.
Of course, this is just a general description, and depending on your business, the exact actions may be different. The following article has a detailed example that should help you a lot.
How to execute a JavaScript function on all forms without registering it manually? – XRM Tricks (Power Platform & Dynamics CRM )
I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
Best Regards,
Rudy Zhang
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 47 Most Valuable Professional
André Arnaud de Cal... 38 Super User 2025 Season 2
#ManoVerse 31