In the previous post, where we installed the Dataverse Accelerator app and saw how to write basic low-code Instant Plugins.
Here we’d look at the Automated low-code Plugins.
Select the New Plugin option in the Dataverse Accelerator app to create Automate Plugins.
We get the option to select the table, the event, define the behavior of the plugin using Power FX, specify pre or post-operation, and the solution as shown below.

To keep it simple, we have created a plugin on pre-operation that checks for null, the email address field in the Contact record on Create, and if blank throws an error.

On trying to create a contact record without an email address, we get the exception as specified in the plugin.

That’s all we are done with our plugin.
Now interestingly if we check our solution specified, we will not find our plugin there. We need to add them to the solution manually right now, here we need to look for FxExpression.

Read more about it here – https://debajmecrm.com/how-to-write-plugins-in-dataverse-using-low-code-powerfx-functions/
And all the details here
Hope it helps..
Discover more from Nishant Rana's Weblog
Subscribe to get the latest posts sent to your email.

One thought on “How to – Create an Automated low-code plug-in (Dataverse) (experimental)”