web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 150

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 65 Super User 2026 Season 1

#3
ManoVerse Profile Picture

ManoVerse 53 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans