Announcements
No record found.
Scenario 1: 1. Add a button on the ribbon for Contact Entity form. 2. Create a grid for Case entity in the contact form. 3. Create a option set Yes/ No button. 4. Select an account on the contact form. 5. Write plugin code which gets fired when the button is clicked and option set is Yes. This will populate all the cases associated with the Account that is selected on the contact. 6. If the option set is NO, populate all the cases in the case grid which are closed and are associated with the account.
Use Actions to call the plugin through button click
Hello,
So what's the question?
Hi,
Your question is not clear.
If you are looking to execute a plugin from a ribbon button, first clarify that:
To call it on-demand, you may use one of the following approaches:
Calling a Dynamics 365 Action from JavaScript using Xrm.WebApi.online.execute - Carl de Souza
However, you should revisit your approach and the need for the plugin.
You may create a custom code activity and use it in an action/workflow.
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ManoVerse 127 Super User 2026 Season 1
11manish 121
Muhammad Shahzad Sh... 69 Most Valuable Professional