locked
CRM 2011 - Automation of plugin registration RRS feed

  • Question

  • Hi, In CRM 4.0, we used RegisterSolutionRequest, UnregisterSolutionRequest to perform registering/unregistering of the plugins. I am unable to find its equivalent API in 2011. Does anyone know how thi scan be achieved. Thanks
    Tuesday, January 17, 2012 6:36 PM

Answers

All replies

  • The CRM 2011 SDK contains the source code for the plugin registration tool.  I would recommend reverse engineering the calls from there as it will be semi complex.  It means creating plugin assemblies, creating sdk message processing steps, etc...

    You can find the sdk here, the plugin registration tool is in /sdk/tools after you unzip it.

    http://www.microsoft.com/download/en/details.aspx?id=24004

     


    Jamie Miley
    Check out my about.me profile!
    http://mileyja.blogspot.com
    Linked-In Profile
    Follow Me on Twitter!
    Tuesday, January 17, 2012 7:33 PM
    Moderator
  • Hi,

    Here is a command line tool that can be used to perform the equivalent - and can be used in a msbuild script.

    http://pluginregcrm2011.codeplex.com/

    hth,

    Scott


    www.develop1.net
    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"
    Tuesday, January 17, 2012 8:10 PM
    Answerer
  • Once you have registered the plugin using plugin registration tool, you can create a solution and add the plugin assembly and its steps to the solution. Export this solution. You can then simply import this solution in any other environment that you need to register the plugins on. This basically does away with the need to register it manually each time.

    HTH

    Sam


    Dynamics CRM MVP | Inogic | http://inogic.blogspot.com| news at inogic dot com

    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    Wednesday, January 18, 2012 12:43 AM
  • This does not seem to capture the unsecure string that I provide in the plugin registration tool. Am I missing something?

    http://blog.aggregatedIntelligence.com/

    Monday, April 2, 2012 10:37 PM
  • I downloaded the SDK package from http://www.microsoft.com/en-us/download/details.aspx?id=24004, and in the tools folder I cannot find a folder for the plugin-registration tool code. What am i missing? (According to MSDN too thats where it should be, but its not). The only folders in there are 

    1. DeveloperToolkit

    2. DeviceRegistration

    3. MetaDataBrowser

    4. WebResourceUtility

    There is a built version of registration tool in the sdk\bin folder. But I am looking for the code!


    http://blog.aggregatedIntelligence.com/

    Friday, September 13, 2013 2:52 PM
  • Seems to have been removed by Microsoft.

    Its available here though: http://stackoverflow.com/a/16857218/44815


    http://blog.aggregatedIntelligence.com/

    Friday, September 13, 2013 3:00 PM