Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Call plugin from another plugin

Posted on by 105

Hi Community

I have requirement where I need to execute another plugin from my current running plugin 

I searched a lot but haven't got any solution so can you please guide me 

Thanks in advance

*This post is locked for comments

  • Suggested answer
    oliver.rodrigues Profile Picture
    oliver.rodrigues 4,052 on at
    RE: Call plugin from another plugin

    there is no way to call directly a Plugin

    you have to use the suggested options above

  • nil_wagh Profile Picture
    nil_wagh 105 on at
    RE: Call plugin from another plugin

    Hi Clément O.

    Thanks you for response

    Actually I know both possibilities you mentioned

    I just wanted to know is there any code by which we can call plugin without using action in between

  • Verified answer
    Flydancer Profile Picture
    Flydancer 1,332 on at
    RE: Call plugin from another plugin

    Hi nil_wagh,

    Plugins are triggered by specific events. You just have to raise this event like update/create or whatever. You can't execute plugins "on demand" (not sure if this is the right wording)

  • Verified answer
    Clem Profile Picture
    Clem 2,541 on at
    RE: Call plugin from another plugin

    Hi,

    Several possibilities : 

    • Perform a create/update/delete or whatever action which can trigger the second plugin from the first one.
    • Create a custom action and call it from the first plugin to execute your code from the second plugin.

    Clément

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans