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 :
Service | Customer Service, Contact Center, Fie...
Answered

What is the best way to bring Plugin Assembly & SDK Messages from Sandbox to Production?

(0) ShareShare
ReportReport
Posted on by 10
  1. Should we register our Plugin with Plugin Registration Tool on Production Server.
  2. Can we import Plugin dll in Solution? Do we have to import SDK Messages too?
  3. Would just importing Solution in Production work or do we have to register our Plugin on Production separately. 

    If we bring a new version of a Plugin via Solution, and we notice that it doesn't work, by disabling the neuer Solution, would the old Plugin automatically activated?

     

    What is the statndard way to do it.

I have the same question (0)
  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at
    RE: What is the best way to bring Plugin Assembly & SDK Messages from Sandbox to Production?

    Hi Jay2008,

    This article explains the best way to deploy a plugin.

  • Suggested answer
    Pawar Pravin  Profile Picture
    5,237 on at
    RE: What is the best way to bring Plugin Assembly & SDK Messages from Sandbox to Production?

    Hi Jay,

    As per my information it would be better if use solution deployment from sandbox to production.

    Please refer below url for more details:

    carldesouza.com/.../

    community.dynamics.com/.../439517

  • Verified answer
    Mustajab Profile Picture
    40 on at
    RE: What is the best way to bring Plugin Assembly & SDK Messages from Sandbox to Production?

    There is already one article on the Dynamics community please check if it helps.

    Just to summarize the deployment practice on production. Please keep the below-mentioned prereq in mind,

    • Always deploy managed solutions. 
    • As per standard practice create (open this Article)
      • We can create separate solutions for each region. This help in better management when multiple devs are working
        • MetaData (Form, view, or entity properties)
        • Plugin (containing plugins, JS, workflow activity)
        • Security Roles
        • Reporting
        • Ribbon
        • Apps (if we have model-driven or canvas apps)

    Should we register our Plugin with Plugin Registration Tool on Production Server.

    I would suggest not to do that. As for production, the best way is to do solution deployment from UAT. Making sure that these two environments (Prod and UAT) are always synced. There is no harm in doing plugin registration directly on production but it will take additional time. Keeping in mind that production deployments are always short on time.

    Can we import Plugin dll in Solution? Do we have to import SDK Messages too?

    Yes, we have to take SDK messages as they contain the steps and pre or post messages in some cases. 

    Would just importing Solution in Production work or do we have to register our Plugin on Production separately.

    No need if we did it via solution. Just make sure we publish it. 

    If we bring a new version of a Plugin via Solution, and we notice that it doesn't work, by disabling the neuer Solution, would the old Plugin automatically activated?


    Always take a backup. As solution deployment, if managed to delete it will delete the plugin. In case if unmanaged deleting it wont be of any help. There is no disabling option in solutions (least at the time of writing this reply :) ). Use code repository (TFS, GitHub, DevOps, etc) if we are doing deployment directly to restore the last working state.  

  • Jay2008 Profile Picture
    10 on at
    RE: What is the best way to bring Plugin Assembly & SDK Messages from Sandbox to Production?

    Thank you very much, I liked your answer very much and helped me.

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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 49 Super User 2025 Season 2

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 46

#3
CU23101130-0 Profile Picture

CU23101130-0 17

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans