We have a plugin calling an API from Dynamics 365 Finance and Operations, we want to run the plugin when we click on New to add new record. The API is not working on JavaScript. So, How can we run the plugin on click of New button?
Hello,
So in order to trigger a plugin in Dynamics 365 you need to have a step that triggers on specific conditions.
Creating on the New button doesn't generate any out of the box event.
docs.microsoft.com/.../supported-messages-entities-plugin
To achieve what you want you would need to call a JavaScript function on your New button and that function would call a custom action. The action would then trigger then plugin in question.
carldesouza.com/.../
blog.magnetismsolutions.com/.../how-to-trigger-plugins-on-custom-messages-using-actions-in-dynamics-365
Hope this information helps.
It worked fine, Thank you.
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 Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
MVP-Daniyal Khaleel 60
Tom_Gioielli 24 Super User 2025 Season 2
CU29080825-0 16