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 365 | Integration, Dataverse...
Suggested Answer

Add functions to many forms of web resource

(0) ShareShare
ReportReport
Posted on by 10

Hi 

I want to call a function in many forms at once how it can be done.

Thanks

I have the same question (0)
  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at

    Hi EKL,

    You will need to add the JavaScript to each form individually. This article explains how to do this.

  • RudyZhang Profile Picture
    Microsoft Employee on at

    Hi EKL,

     

    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.

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 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 47 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
#ManoVerse Profile Picture

#ManoVerse 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans