LogoLogo

Our Products

Metadata Browser

Edge Add-on

HTML To PDF Converter

Power Automate Connector

Data Mask for Dataverse

Dataverse App

Commission 365

Dynamics 365 App

AI Autocloser

Dataverse App

Flow Monitor

Power Automate App

ServicesAboutCareersBlogContact
Chat on Teams
Metadata BrowserHTML To PDF ConverterData Mask for DataverseCommission 365AI AutocloserFlow Monitor
ServicesAboutCareersBlogContactChat on Teams
HomeBlogCreating Low-Code Plug-ins in Dataverse Accelerator for Dynamics 365

Creating Low-Code Plug-ins in Dataverse Accelerator for Dynamics 365

August 22, 2024
#Dataverse#PowerApps
Mahith Reddy
Creating Low-Code Plug-ins in Dataverse Accelerator for Dynamics 365

After exploring API testing in the Dataverse Accelerator app with Custom API and OData requests, it's time to dive into the third request type: Low-Code Plug-ins. A low-code plugin is a tool or add-on that allows you to create software applications or extend existing ones with minimal coding. Low-code plug-ins allow users to implement custom business logic in Dataverse without writing extensive code.  

These low-code development methods are transforming the way developers and business users create applications by simplifying the process and reducing the need for extensive coding. In this blog, we'll guide you through creating low-code plug-ins, both instant and automated, using the Dataverse Accelerator in Dynamics 365. 

These plug-ins can be categorized into: 

1. Instant Plug-ins: Executed immediately in response to a specific event. 

2. Automated Plug-ins: Triggered automatically based on pre-defined conditions or schedules. 

Creating an Instant Plug-in 

Firstly, Log in to Power Apps 

Open the Dataverse Accelerator App

Creating Low-Code Plug-ins in Dataverse Accelerator for Dynamics 365 01

On the home page, click on the New Plug-in dropdown and select Instant plug in. 

Creating Low-Code Plug-ins in Dataverse Accelerator for Dynamics 365 02

In this low code plugin example, we will calculate the sum of two integers.  

After choosing the type, you will find a Display Name field where you can name your plugin and a Parameters section which allows you to add new input and output parameters to the plugin. You can also add parameters as per your requirement. 

Lastly, there is an Expression Section, it provides a text area to define your plug-in's behavior when invoked. 

Need help with your business solution?

Our team can help you implement the right solution for your organization.

Get in touch
LogoLogo

Ex-Microsoft experts helping businesses get more from their Dynamics 365 and Power Platform investments.

Products

Creating Low-Code Plug-ins in Dataverse Accelerator for Dynamics 365 03

Here, we will name our plugin ‘Addition’ and set the parameters using the + icon...  We will create two input parameters, X and Y (both of data type integer), and one output parameter, Z (integer). 

Use the following formula in the Expression section: {Z: X + Y } 

Click on Save after entering the details as shown in the image below. 

Creating Low-Code Plug-ins in Dataverse Accelerator for Dynamics 365 04

Navigate to the API playground to test the instant plugin. 

Select our newly created instant plugin. 

Creating Low-Code Plug-ins in Dataverse Accelerator for Dynamics 365 05

Enter sample data to simulate the triggering event. 

Click Send to execute the plug-in. 

Creating Low-Code Plug-ins in Dataverse Accelerator for Dynamics 365 06

Check the response section to see the results of your plug-in execution. 

Creating Low-Code Plug-ins in Dataverse Accelerator for Dynamics 365 07

Creating an Automated Plug-in 

An automated plugin in Dynamics 365 is a custom code that automatically executes in response to specific events within the system. These plugins are designed to run without user intervention, typically triggered by actions such as creating, updating, or deleting records.  Now, we'll walk through the process of setting up an Automated Plugin, 

Return to the home page, select the "New Plug-in" dropdown menu and choose "Automated Plug-in."  

Creating Low-Code Plug-ins in Dataverse Accelerator for Dynamics 365 08

In this example, we will create a plugin where it will trigger upon creation of a contact record and update the job title section with “Associate”.  

Automated plugins can be activated in three scenarios: when a row or record is created, updated, or deleted. 

Creating Low-Code Plug-ins in Dataverse Accelerator for Dynamics 365 09

Provide details including the name and conditions for triggering the plug-in. In this instance, I have chosen the "Created" condition. 

Select the Contact as Table. 

Use the low-code interface to set up the automation logic. Create the logic to update the job title for a contact record as described below. 

Set(NewRecord.jobtitle,"Associate") 

The logic `Set(NewRecord.jobtitle, "Associate")` assigns the value "Associate" to the `jobtitle` property of the `NewRecord` object. This means any new record will have the job title set as "Associate." 

Click on Save.  

Creating Low-Code Plug-ins in Dataverse Accelerator for Dynamics 365 10

Test the Automated Plug-in 

Simulate the conditions to trigger the plug-in. Here, we will create a new contact record and save it, to test if the job title gets updated to ‘Associate’. 

Creating Low-Code Plug-ins in Dataverse Accelerator for Dynamics 365 11

Monitor the response. In the below image, we can see the Job title has been updated. 

Creating Low-Code Plug-ins in Dataverse Accelerator for Dynamics 365 12

Creating low-code plug-ins in the Dataverse Accelerator for Dynamics 365 streamlines the development process, enabling you to quickly implement custom business logic with minimal coding. By following the steps outlined above, you can create both instant and automated plug-ins to enhance your Dataverse applications. Stay tuned for more detailed guides and advanced use cases in our upcoming blogs. 

Frequently Asked Questions (FAQs):
1. What are the prerequisites for creating low-code plug-ins? 

You need access to Dynamics 365, Dataverse, and the Dataverse Accelerator app, along with proper permissions. 

2. Can I test my plug-ins before deploying them? 

Yes, the API Playground allows you to test both instant and automated plug-ins with sample data. 

3. Are there any limitations to using low-code plug-ins? 

Low-code plug-ins are designed for ease of use and may have some limitations in terms of complexity compared to fully coded solutions. 

4. How do I schedule an automated plug-in? 

You can set the schedule or conditions for triggering an automated plug-in within the Dataverse Accelerator interface. 

Back to all articles

More from the blog

Generate Temporary Download URLs in Dynamics 365 Using GetFileSasUrl

How to Generate Early Bound Classes in Dataverse with XrmToolBox

How to Populate Choice Fields Using Power Apps Dataflows

How to Populate Dataverse Lookup Fields Using Power Apps Dataflows

Embed Model-Driven App Charts in Power Pages with Liquid

Automating Document Signing with Docusign Using Power Automate

Automating Dataverse Record Creation with Custom Forms in Power Pages

Automate Creation of Dataverse Tables using Web API

Metadata Browser
  • HTML To PDF Converter
  • Data Mask for Dataverse
  • Commission 365
  • AI Autocloser
  • Flow Monitor
  • Services

    • D365 Marketing
    • D365 Sales
    • D365 Customer Service
    • D365 Field Service

    Company

    • About Us
    • Blog
    • Contact
    • Careers

    Copyright ©2026 Pascalcase Software Private Limited. All rights reserved.

    Privacy PolicyTerms of Service