locked
Update only assembly in CRM 2016 plugin registration tool RRS feed

  • Question

  • Hi, today I had to deploy an update to a plugin for the first time in CRM 2016. Plugin registration tool is different and I noticed that I can't simply update the assembly, I must select a plugin to update. You can imagine my suprise when I selected only the plugin I updatet and others were removed. Is there a way to update just the assembly like in CRM 2011? Is there a way to move configuration of steps/images from one environment to another?

    Thanks in advance

    Wednesday, April 13, 2016 12:06 PM

Answers

  • There are two things to answer:

    Regarding your first question, while updating the plugin your rest plugins were removed.

    Firstly I would like to ask you which version of plugin registration tool you are using.  Is it 2016, 2015.

    The behaviour you noticed is not generally anticipated. The tool allows to update the selected plugin keeping all the other plugins in it. Make sure you have checked the ‘Select all/Deselect all’ under the Step –‘plugin and workflow activities to register’ in the plugin registration tool. 

    For your second question “Is there a way to update just the assembly like in CRM 2011? Is there a way to move configuration of steps/images from one environment to another?”

    Yes, you can do that. First create a solution for it and add the existing plugin assemblies whichever you want to migrate. Along with it also add the ‘sdk message processing steps (Steps involved in the plugin)’ this will automatically add the images along with the sdk messaging steps. Now export and save this solution and finally you can import it into any another environment. 

    Note: But with limitations, you cannot directly take a solution from a CRM 4 to crm11, crm13 crm15 or crm16. 

    HTH

    Sam


    <p style="color:8DBBF7"><font face="Calibri" size="2"><b>Dynamics CRM MVP </b>| <a href="http://www.inogic.com" target="_blank"> Inogic</a> | <a href="http://inogic.com/blog" target="_blank">http://inogic.com/blog</a>| <a href="mailto:news@inogic.com">news at inogic dot com</a> </font></p> <p><font face="Calibri" size="2"><i>If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful" </i></font></p>

    • Marked as answer by Radevic Thursday, April 14, 2016 8:10 AM
    Thursday, April 14, 2016 7:51 AM

All replies

  • In the page to Update the assembly, just make sure you have all the plugin classes that you want to keep selected, and that should do what you want.

    The same page has 2 purposes - to update the assembly contents, and to allow you to change which plugin classes to register or remove. I think the only change since previous versions is that this page doesn't automatically select the plugin classes that are already registered - you have to remember to do this yourself


    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Thursday, April 14, 2016 5:58 AM
    Moderator
  • I think the only change since previous versions is that this page doesn't automatically select the plugin classes that are already registered - you have to remember to do this yourself

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    NEAT! Nice to see that Microsoft provides with good product upgrades that makes it easier!

    Regards


    Rickard Norström Developer CRM-Konsulterna
    http://www.crmkonsulterna.se
    Swedish Dynamics CRM Forum: http://www.crmforum.se
    My Blog: http://rickardnorstrom.blogspot.se

    Thursday, April 14, 2016 6:20 AM
  • Hi, in previous version i could update only the assembly if I for example did a minor code change, no need to think about what was already registered and not.

    In my solution I have some plugins that are not in production any more/yet and they all get registered if I do not exclude them explicitly. You can say I should meke my solution clean and get rid of those unused plugins but... As Rickard it's irritating when new versions make your job harder.

    Thursday, April 14, 2016 7:46 AM
  • There are two things to answer:

    Regarding your first question, while updating the plugin your rest plugins were removed.

    Firstly I would like to ask you which version of plugin registration tool you are using.  Is it 2016, 2015.

    The behaviour you noticed is not generally anticipated. The tool allows to update the selected plugin keeping all the other plugins in it. Make sure you have checked the ‘Select all/Deselect all’ under the Step –‘plugin and workflow activities to register’ in the plugin registration tool. 

    For your second question “Is there a way to update just the assembly like in CRM 2011? Is there a way to move configuration of steps/images from one environment to another?”

    Yes, you can do that. First create a solution for it and add the existing plugin assemblies whichever you want to migrate. Along with it also add the ‘sdk message processing steps (Steps involved in the plugin)’ this will automatically add the images along with the sdk messaging steps. Now export and save this solution and finally you can import it into any another environment. 

    Note: But with limitations, you cannot directly take a solution from a CRM 4 to crm11, crm13 crm15 or crm16. 

    HTH

    Sam


    <p style="color:8DBBF7"><font face="Calibri" size="2"><b>Dynamics CRM MVP </b>| <a href="http://www.inogic.com" target="_blank"> Inogic</a> | <a href="http://inogic.com/blog" target="_blank">http://inogic.com/blog</a>| <a href="mailto:news@inogic.com">news at inogic dot com</a> </font></p> <p><font face="Calibri" size="2"><i>If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful" </i></font></p>

    • Marked as answer by Radevic Thursday, April 14, 2016 8:10 AM
    Thursday, April 14, 2016 7:51 AM
  • Thanks for reply Sam, I still think it's cumbersome that I have to create a solution and not just send a new version of assembly via registration tool. Thankf for tip regarding message processing step, in CRM 4 you could export configuration from registration tool as I remember...
    Thursday, April 14, 2016 8:10 AM
  • Hi Radevic,

    You can probably still use the CRM 2011 plugin registration tool, I've used it up until 2015 and the SOAP endpoints are still available in CRM 2016 so it should be usable.

    Regards


    Rickard Norström Developer CRM-Konsulterna
    http://www.crmkonsulterna.se
    Swedish Dynamics CRM Forum: http://www.crmforum.se
    My Blog: http://rickardnorstrom.blogspot.se

    Friday, April 15, 2016 7:40 AM