web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Decompile the plugin code Dynamics CRM Online

(0) ShareShare
ReportReport
Posted on by

Hi Guys,

We need to edit a plugin developed by one of the developer who left the company and we dont have the source code for it. I am researching on it and found the below link:

https://crmbusiness.wordpress.com/2015/08/13/crm-2015-how-to-decompile-plugin-code/

I connected to our organization and opened "Assembly Recovery Tool", but the assembly we are looking for is not listed there, but I can see it in plugin registration tool. Any ideas on what might be the issue?

Thanks in advance

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Decompile the plugin code Dynamics CRM Online

    Both are deployed in "Sandbox" isolation and stored in "Database"

  • Verified answer
    Pawns or Kings Profile Picture
    on at
    RE: Decompile the plugin code Dynamics CRM Online

    Hi Jogendar,

    Can you go to the solution > components > plug-in assemblies > Add Existing > the plug-in you're trying to decompile? (Edit: You might need to change your instance to sandbox mode, if it's only seen in the sandbox).

    Once you do that, you can export your solution as an unmanaged solution, which will make it a zip file on your computer.

    Once the zip file is created, there should be a Plugin Assemblies folder, and the assembly should be there.

    Good luck!

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Decompile the plugin code Dynamics CRM Online

    Hi jogendar

    please proceed as follows:

    • create a new solution
    • include the plugin assembly
    • export the solution
    • unzip it
    • open the PluginAssemblies folder
    • open the first folder
    • you have found the assembly :-) 
    • search on google for dotPeek (free decompiler)
    • download and install it
    • decompile your assembly

    Please let us know

    If you found the answer helpful, please mark as Verified 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at
    RE: Decompile the plugin code Dynamics CRM Online

    Since you are using CRM Online, the plugin is registered at the database level.

    Do you have the solution files, that were used to upload that plugin to the Online environment (whether managed or unmanaged)? If you do, extract the solution, and you will be able to find the Plugin under the Plugins folder.

    If you don't have the solution, try exporting the existing solution that you have deployed. If the solution cannot be exported, create a new solution, and add all the components to it, and see if you can export it that way.

    You should be able to use refractor (by Telerik), to decompile your plugin code.

    Hope this helps.

  • Community Member Profile Picture
    on at
    RE: Decompile the plugin code Dynamics CRM Online

    Worked. Thanks Guys !!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
UllrSki Profile Picture

UllrSki 2

#3
SC-08081331-0 Profile Picture

SC-08081331-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans