Notifications
Announcements
No record found.
Please help me to provide example and step as well.
Hi,
Thank you for your query.
You cannot directly call a plugin using the ribbon button. The correct approach is to create an action and call it using the JS function (bound) to a button.
Anyhow, there are indirect ways to call a plugin from a ribbon button:
Basically, plugins are bound to an event, you need to perform that event from your JS function, it could be create of a record, update of record, etc.
Here is a similar post:
(+) call plugin on custom button click - Microsoft Dynamics CRM Forum Community Forum
If you wanna go through the Action route, look at the following:
Dataverse / Dynamics 365 call action in button | Dynamics Chronicles (dynamics-chronicles.com)
Here is calling a plugin using action:
Fire plugin from Ribbon – Header in CRM 2015 by calling Action – Rokhri – Microsoft Dynamics 365, ERP Applications
The following article explains how you can create a ribbon button and then call a JS function:
Creating a Ribbon Button Using Ribbon Workbench to call a JavaScript action · BGBS Portal (briteglobal.com)
So it is very easy let me divide this into smaller parts.
1. Create a button on the ribbon.
Link : www.briteglobal.com/.../
2. Add a JavaScript on that button which will call the Action(It is a type of an Workflow/Process which will call the plugin assembly).
Link : carldesouza.com/.../
You can also create "Action call JavaScript" using the CRM REST Builder easily without any issues.
3. Create plugin code and use with the Action which you have created.
Link : rokhri.com/.../
Link : www.linkedin.com/.../
when you add a link between this 3 parts you will achieve your goal.
Please let me know if you need any help related with this.
Thank you,
Amit Katariya
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.
Tom_Gioielli 170 Super User 2025 Season 2
#ManoVerse 70
Jimmy Passeti 50 Most Valuable Professional