| Ijlal Munnawer
Invoke Global Custom Actions in Dynamics 365
To start things off, I’ll create a custom action from a new process creation dialog and choose a blank process with the category “Action”. We are not creating an entity specific action, so we’ll select Entity as “None (Global)”.
We don’t need to add any arguments or steps. Save it and activate it like below:
Now, I will code a plugin to be triggered on our custom action. We’ll require CRM SDK packages to be installed first before writing our plugin.
Plugin to create a contact when our custom action will be invoked. Build the plugin to create a .dll file which will be used to register our assembly.
Now register the assembly.
Registering new step will allow us to define our custom message as shown below and Primary Entity will be none because it has a global scope.
We can test our JS by running it from the browser window.
Join us next time, as we continue our journey of learning canvas apps.Click here to learn more about Imperium's Power Apps Services. We hope this information was useful, and we look forward to sharing more insights into the Power Platform world.