| Syed Junaid

After the creation of the plugin, we have to register our plugin on events like Create, Update, Delete etc according to the business requirements.

Required components to register a plugin are:

  1. Plugin Registration Tool
  2. Plugin(.dll file) you want to register (In your project > bin > debug > {projectname}.dll).

For registering a plugin we have to follow following steps:

  1. Open Plugin Registration Tool and create new connection.
    Power Apps Maker portal
  2. Put your credentials. Make sure to check the display list of available organizations if you are working with multiple environments. After Login, select the desired environment.
    Power Apps Maker portal
  3. After that, you will have a view of all the plugins registered in your environment. Now, in order to register our plugin go to register and select register new assembly.
    Power Apps Maker portal
  4. Now select the plugin .dll file you want to register
    Power Apps Maker portal

    Power Apps Maker portal
  5. After successfully registering the plugin, we have to register the step we want to trigger our plugin on for instance creation of contact.To register the step we have fill following fields
    • a. Message: It is the CRM message you want to register your plugin like Create, Update, Delete etc.
    • b. Primary Entity: It is the primary entity on which you want your message to register. Like if on the creation of contact we want to trigger our plugin, then our primary entity is contact.
    • c. Secondary Entity: Secondary entity is used when we have to Relate/Unrelate records otherwise it would be empty
    • d. Filtering Attributes: It is used in a message like Update so our plugin will fire on the selected filtering attribute fields. Like if we want our plugin to fire on the update of email, then our filtering attribute would be email so it will only trigger when email is updated.
    • e. Event Pipeline Stage of Execution: Discussed in another blog named Plugin Event Pipeline Stage of Execution.
      Power Apps Maker portal

      Power Apps Maker portal

Your plugin and step is successfully registered now you can test your plugin by performing the same action as you defined in the step. In our case, creating a contact would trigger our plugin, which will then create an account.

Click here to learn more about Imperium's Dynamics Services.



About The Blog

Stay updated with what is happening in the Microsoft Business Applications world and initiatives Imperium is taking to ease digital transformation for customers.


More About Us

We provide guidance and strategic oversight to C-Suite and IT Directors for on-going implementations. Feel free to give us a call.

1 331 250 27 17
Send A Message

Ready to Start?

Get a personalized consultation for your project.

Book a Meeting