web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Invoke plugin using javascript

(0) ShareShare
ReportReport
Posted on by 6

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

I have the same question (0)
  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at
    RE: How to??

    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.

  • EmployeeOcta Profile Picture
    6 on at
    RE: Invoke plugin 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.

  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at
  • Suggested answer
    Guido Preite Profile Picture
    54,084 Moderator on at
    RE: Invoke plugin using javascript

    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

  • Suggested answer
    Kishor Kumar Profile Picture
    3,710 on at
    RE: Invoke plugin using javascript

    Hi

    Suppose you have written a plugin on save event then call the save event in Js as simple as that of it

  • Suggested answer
    Alagunellaikumar Profile Picture
    6,212 on at
    RE: Invoke plugin using javascript

    Hi

    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)

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Invoke plugin using javascript

    Hi,

    you can also achieve this updating field like flag on entity using java script, so  your plugin will fire on update of entity.

  • Saddamk206 Profile Picture
    777 on at
    RE: Invoke plugin using javascript

    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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
UllrSki Profile Picture

UllrSki 2

#3
SC-08081331-0 Profile Picture

SC-08081331-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans