Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Modify Plug-in trigger event

Posted on by 15

Hi All

I have got some plugins installed in CRM organisation to update record on a certain event, now business has identified a requirement to change the criteria to trigger an event and update record.

Unfortunately I haven't got a source code available to change and redeploy the plugin, wondering if there is a possibility to modify the code using plug-in registration tool?

Thanks in advance for your help. 

*This post is locked for comments

  • Suggested answer
    Gopalan Bhuvanesh Profile Picture
    Gopalan Bhuvanesh 11,397 on at
    RE: Modify Plug-in trigger event

    Hi

    As suggested, you can download the plugin using XrmToolBox (Assembly Recovery Tool) and decompile it using any of the tools available (example: JetBeans dotPeek).

    You use the above method to find out the Business Logic in the existing plugin and you can create a new plugin accordingly.

  • Suggested answer
    Amine Amine Profile Picture
    Amine Amine 130 on at
    RE: Modify Plug-in trigger event

    Hi,

    You cannot change the code using the plug-in registration tool

    You can change the criterias that Trigger the Plugin from the  plug-in registration tool (change the fields that trigger the Plugin )

    But if you want to change some business logic  and you dont have the code source ,

    you can try to get the (DLL) assemblies using  Assembly Recovery Tool from  XRMToolBox : http://www.xrmtoolbox.com

    After that you can try to Decompile the assemblly using some tools from the web.

    If the solution is Decompiling you can reffer to this :
    https://community.dynamics.com/crm/b/crmbusiness/archive/2015/08/13/crm-2015-how-to-decompile-a-plugin-assembly-dll

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans