Hello Guys,
I have a trouble of , how to invoke plugin using Jscript.
a sample and simple example will be helpful.
*This post is locked for comments
Hi,
Please refer the link below.
www.plusconsulting.com/.../Post.aspx
It gives you a clear and simple example on how to call custom actions using Javascript.
Hello Nithiya ,
I am looking for the Plugin execution using jscript, but the url you provided is showing about an action.
is there any sample example for plugin to execute using jscript.
See these links.
community.dynamics.com/.../how-to-trigger-a-plug-in-from-jscript-in-microsoft-dynamics-crm
debajmecrm.com/.../call-plugin-from-javascript-in-microsoft-dynamics-crm/
plugins are attached to events (like create of a record, update, etc etc)
they can't be called directly by javascript, the only way by javascript is to call the event that is bound to the plugin
for example if you a have a plugin triggered on the create of a contact record, then you need to create a contact by JS using the odata or soap endpoint
Hi
Suppose you have written a plugin on save event then call the save event in Js as simple as that of it
Can you bit explain more about your requirement?
Plugin will be trigger based on event (create,update, delete and etc)
If you want based on some action in javascript and want to use server side code(plugin) that time you go fo CRM ACTION.(www.greenbeacon.com/.../trigger-plugin-from-ribbon-button-using-custom-actions-in-dynamics-crm-2013)
you can also achieve this updating field like flag on entity using java script, so your plugin will fire on update of entity.
Hi, We can do same using below blog:-
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 Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Community Member 2
UllrSki 2
SC-08081331-0 1