Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

call plugin from onload js

(0) ShareShare
ReportReport
Posted on by 75

how to call custom plugin from javascript

  • Suggested answer
    Kokulan Profile Picture
    18,054 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
    84,331 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
    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 > Dynamics 365 general forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans