locked
Questions about how existing plugins were setup RRS feed

  • Question

  • We have inherited a string of plugins developed and deployed by consultants.  Now we support them but have no documentation.

    We are also novice developers to CRM.

    My questions are:

    1.  How do I find out how the existing and running plugins were set up at registration time?  ( I can see their isolation mode on the CRM UI panel, their name, but don't see other interesting attributes such as Primary Entity, Run in Context, Pipeline Stage, Execution Mode  etc...)  I would like to know those specifications to keep them the same as they have been running and working.... 

    2.  If I change code of a plugin, do I always need to unregister and re-register it?

    Thank you very much in advance.

    Thursday, June 7, 2012 2:46 AM

Answers

  • Yukimo,

    The easiest way is to use the Plugin Registration Tool. With this tool, you can see all the pipelines / messages that the plugins are registered with and you can enable / disable each steps easily.

    You can either get the Plugin Registration Tool from CRM SDK (http://www.microsoft.com/en-us/download/details.aspx?id=24004) or download it directly from http://sdrv.ms/LaWDNa

    If you change the plugin code, you only have to Update it. In the Plugin Registration Tool, select the assembly you want to update and click the "Update" button.

    See this link for detailed instructions. http://msdn.microsoft.com/en-us/library/gg309580.aspx

    I hope this helps. If my response answered your question, please mark the response as an answer and also vote as helpful.


    Dimaz Pramudya | CSG (Melbourne) | http://www.xrmbits.com | dimaz@xrmbits.com If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    Thursday, June 7, 2012 3:43 AM
  • For each Plugin (listed in the 'Plug-in Assemblies' section of your CRM's customisations), there will be one or more corresponding Steps (listed in the 'Sdk Message Processing Steps' section directly beneath the Plugins).  These steps describe the Primary Entity Type, Message, Execution Stage, Execution Mode etc for each Step for which the Plugin is registered.

    To modify an existing Plugin you can either:

    1. Unregister/re-register.  However this will require the re-registration of each Step for which the Plugin was registered.  This can be quite onerous if there are several steps/images
    2. Update the Plugin

    Either of these tasks can be performed with the Plugin Registration Tool that ships with the CRM SDK.  The latter task (Update plugin) can be done by:

    1. Right-click on Plugin and select Update OR
    2. Select Plugin and click the Update button



    --pogo (pat) @ pogo69.wordpress.com

    Thursday, June 7, 2012 2:54 AM

All replies

  • For each Plugin (listed in the 'Plug-in Assemblies' section of your CRM's customisations), there will be one or more corresponding Steps (listed in the 'Sdk Message Processing Steps' section directly beneath the Plugins).  These steps describe the Primary Entity Type, Message, Execution Stage, Execution Mode etc for each Step for which the Plugin is registered.

    To modify an existing Plugin you can either:

    1. Unregister/re-register.  However this will require the re-registration of each Step for which the Plugin was registered.  This can be quite onerous if there are several steps/images
    2. Update the Plugin

    Either of these tasks can be performed with the Plugin Registration Tool that ships with the CRM SDK.  The latter task (Update plugin) can be done by:

    1. Right-click on Plugin and select Update OR
    2. Select Plugin and click the Update button



    --pogo (pat) @ pogo69.wordpress.com

    Thursday, June 7, 2012 2:54 AM
  • Yukimo,

    The easiest way is to use the Plugin Registration Tool. With this tool, you can see all the pipelines / messages that the plugins are registered with and you can enable / disable each steps easily.

    You can either get the Plugin Registration Tool from CRM SDK (http://www.microsoft.com/en-us/download/details.aspx?id=24004) or download it directly from http://sdrv.ms/LaWDNa

    If you change the plugin code, you only have to Update it. In the Plugin Registration Tool, select the assembly you want to update and click the "Update" button.

    See this link for detailed instructions. http://msdn.microsoft.com/en-us/library/gg309580.aspx

    I hope this helps. If my response answered your question, please mark the response as an answer and also vote as helpful.


    Dimaz Pramudya | CSG (Melbourne) | http://www.xrmbits.com | dimaz@xrmbits.com If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    Thursday, June 7, 2012 3:43 AM