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)

How to restore the Plugin Steps and Images

(0) ShareShare
ReportReport
Posted on by 3,355

Hello Experts,

we have a CRM solution that created using CRM Package. The Plugin assembly contains more than 70 plugins. So one of our developer while updating the plugin dll to test some functionality (in Dev environment), he accidentally unchecked all plugin and clicked Ok in Plugin registration tool. So all the steps and images got removed. Below are my questions.

1) Can we restore those plugin steps and images by redeploying the package from visual studio?

2) If we try to add the steps and images manually to the plugins now are they going to affect in our test/Prod environment as the steps Ids and image ids are now different.

Note: The crmregister file is still unchanged for now and the main assembly Id is same.

Please provide your valuable suggestion.

Thank you,

Saroj

*This post is locked for comments

I have the same question (0)
  • Shemeliak Oleh Profile Picture
    5 on at
    RE: How to restore the Plugin Steps and Images

    Hi Tony,

    How were you able to resolve the wiped steps issue?

  • Suggested answer
    Shahbaaz Ansari Profile Picture
    6,211 on at
    RE: How to restore the Plugin Steps and Images

    If its your development environment, you can also restore the last backup taken by system, if you have not done much development today.

  • Aric Levin - MVP Profile Picture
    30,190 Moderator on at
    RE: How to restore the Plugin Steps and Images

    That is correct. You will have an issue re-import plugins and steps with new ids. You are technically going to have duplicate plugins/steps, with different ids, and the names of the plugins/steps will have some sort of id suffixed to the actual step names.

  • Saroj Das Profile Picture
    3,355 on at
    RE: How to restore the Plugin Steps and Images

    Hi Anatoliy,

    Thank you for your reply. You are correct. There are no automatic OOB way to restore it rather manually adding the steps which is a complex and time consuming one. The question that I asked about Steps/Image Ids because we never go to each environments and add the steps/images for the plugin. Export and Import solution will do that.  The concern is that the artifacts are already in test/prod environment and if we import the solution to those environment with artifacts with different Ids may create issue. Though I am not sure on it.

    Thanks,

    Saroj

  • Verified answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at
    RE: How to restore the Plugin Steps and Images

    If you are using CRM Package deployer, that should do exactly what you are looking for.

    The Plugins and Steps should be re-registered.

    Hope this helps.

  • Saroj Das Profile Picture
    3,355 on at
    RE: How to restore the Plugin Steps and Images

    Hi Andrew,

    Thank you for your reply and time. We will try it and get back to you.

    Thank you,

    Saroj

  • Community Member Profile Picture
    on at
    RE: How to restore the Plugin Steps and Images

    Saroj,

    We had the same problem where after updating CRMPlugins assembly, one of our developers only checked a particular plugin and wiped all the steps and images.

    1) I don't believe there's an OOB way to restore the plugin steps+images. You may have to write console app that recreates the steps and images, and possibly attributes if you're being very precise with your setup. BUT, there may be a tool. I just have not heard of it.

    2) Development ids won't affect staging/live. Let's say you create a plugin for opportunity update. You'll have to register it individually on all environments.

    Hope I understood your question correctly.

  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: How to restore the Plugin Steps and Images

    Saroj,

    Deployment from VS should fix all your issues. crmregister file contains ids of steps/images.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans