Skip to content

XrmToolbox Plugin registration tool using XML file. It generates the register XML file for the existing plugin steps.

License

Notifications You must be signed in to change notification settings

durgaprasadkatari/XrmTools.PluginRegistration

Repository files navigation

Build Status

Build Status

XrmTools.PluginRegistration

  1. Generates the plugin registration file
  2. Registers the new plugins and updates the existing plugins.
  3. Loads the custom plugins in the tree view.

alt text

Plugin Registration Task Runner

To register plugins from you local visual studion development IDE or from the azure devops build pipeline.

  1. Install the this package from the nuget Install-Package PluginRegistration.TaskRunner -Version 1.1.2
  2. After installing the above package successfully it will add the below files to your plugins project.
📦Project.Xrm.Plugins
 ┣ 📂PluginRegistrationTaskRunner
 ┃ ┗ 📜deploy-plugins.bat
 ┣ 📜RegisterFile.xml
  1. Make sure to update the connection string in the deploy-plugins.bat file.
  2. Generate and replace the "RegisterFile.xml" using xrm toolbox "Plugin registration using xml" tool and save the output xml into the plugins project with the same name.
  3. If you are registering your plugins for the first time then feel free to update the RegisterFile.xml file with the relevant plugin steps and update the GUIDs to the empty guid(00000000-0000-0000-0000-000000000000)
  4. Plugin registration task runner will automatically generate the new guid and update the registration xml file with newly generated id.
  5. Now run the deploy-plugins.bat file from the command prompt or run directly from your visual studio. Note: To run the bat file directly from the visual studio install this extension to your visual studio https://marketplace.visualstudio.com/items?itemName=MadsKristensen.OpenCommandLine)
  6. That's it! Have fun. I will cover how to setup the azure devops pipeline in my upcoming blog post.

About

XrmToolbox Plugin registration tool using XML file. It generates the register XML file for the existing plugin steps.

Resources

License

Stars

Watchers

Forks

Packages

No packages published