Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Invoke plugin using javascript

(0) ShareShare
ReportReport
Posted on by 2

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

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

    Hi, We can do same using below blog:-

  • Suggested answer
    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.

  • Suggested answer
    Alagunellaikumar Profile Picture
    Alagunellaikumar 6,210 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
    Kishor Kumar Profile Picture
    Kishor Kumar 3,702 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
    Guido Preite Profile Picture
    Guido Preite 54,073 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
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,076 on at
  • EmployeeOcta Profile Picture
    EmployeeOcta 2 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
    Nithya Gopinath 17,076 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.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans