Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

call plugin from onload js

Posted on by 75

how to call custom plugin from javascript

  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: call plugin from onload js

    Hi

    As suggested by others you could create custom action and have a plugin trigger on the action message but if do not want to do and want to trigger plugin any how you could try the following

    Update the record that the plugin triggers on, you do not have to change data, just trigger an update message from JS and this will trigger the plugin

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: call plugin from onload js

    Hello,

    The best way to do that is to create Action, develop plugin that will handle message of that action and call action using JS.

  • Suggested answer
    TylerS.Dev Profile Picture
    TylerS.Dev 725 on at
    RE: call plugin from onload js

    You will need to create an action and have the javascript call the action to trigger the plugin, below is a link to the tutorial

    dynamics365blocks.wordpress.com/.../how-to-call-plugin-from-javascript-in-dynamics-crm

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans