Hello,
I have placed custom button on Form using web resource. I want to invoke plugin logic (c# code) when user clicks the button on form.
is it possible to do so?
Regards,
Ashish
*This post is locked for comments
Hi Ashish,
There are two ways.
See the community thread below.
community.dynamics.com/.../184588
Hope this helps.
You can't invoke a plugin - you can do it with a workflow/customaction.. as for the plugin, you can invoke it "indirectly" (although, there is, probably, no need to do so given you have those other options) - put a hidden field on the form, add it as a trigger for the plugin step, then use javascript to update that field and save the changes.
Hello,
I would suggest you to use WebApi to call it:
dynamicscrmcoe.com/how-to-call-an-action-through-the-dynamics-crm-web-api
debajmecrm.com/.../invoke-your-custom-action-from-dynamics-crm-web-apidynamics-crm-2016
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156