Power Community

Power Community

How to Integrate Instant Plugins in the Canvas App?

https://arunpotti.files.wordpress.com/2021/08/power-apps-logo.jpg

Dataverse Accelerator is a new Experimental feature released by Microsoft to use the low-code plug-ins in the Dataverse environment. Low-code plug-ins are reusable, server-side synchronous business logic workflows that executes in real time.

In one of my previous articles, I had explained about How to create an Instant Plugin using the Dataverse Accelerator and in this article, will explain the step-by-step process of integrating the Instant Plugin in the Power Apps.

Prerequisites:

  1. Click on the below article link and create a Microsoft Edge or Google Chrome Profile.

    Create a Profile in Microsoft Edge and Google Chrome

  2. Click on the below article link to create Power Apps Trial 30 days or if you have already have an Powers Apps Tenant, skip this step.

    Create Microsoft Power Apps 30 days Online Trial Version

  3. Click on the below article link to Enable the Dataverse Actions in Power Apps.

    Enable Access to Microsoft Dataverse Actions (Preview feature) in the Power Apps

  4. Click on the below article link and follow till Step 7 to add the Environment Datasource in your Power Apps.

    Add the Environment Datasource in the Power Apps

  5. Click on the below link to Create an Instant Plugin in the Dataverse Environment using Dataverse Accelerator.

    Create an Instant Plugin in the Dataverse Environment

Follow the below steps after the Prerequisites.

Step 1: Open Dataverse Accelerator App.

Step 2: Click on Plugins.

You can see the list of all Instant plugins created in this environment.

Step 3: Select the required Instant plugin and Click on Copy code snippet.

Power Fx code snippet succesfully copied to the clipboard.

Below is the copied code from the Clipboard.

PowerFx Code: Environment.dev_ConvertTextToUpperCase({InputText:Value})

Step 4: Open any existing Canvas App or Create a new Canvas app to test this Plugin in a new browser window.

For this example, I have added Modern Controls – Text Input, Button and Text.

Note: Click on the link to know the process to Enable the Modern Controls in the Canvas App.

Step 5: On Convert button OnSelect, added the below Power Fx formula, which calls the Instant plugin and stores the value in the OutPut Global variable.

Set(OutPut, Environment.dev_ConvertTextToUpperCase({InputText:txtInputText.Value}));

Step 6: Add the below Power FX formula in the Text control.

Output.ConvertedText

Step 7: Click on Play button to test the App.

Step 8: Enter the Text and click on Convert.

Calling the Instant Plugin in the background.

You can see the Text in the Upper-Case Letters.

Hope you have followed all the steps and called the Instant Plugin in the Canvas App.

Please like and share your valuable feedback on this article.

Below are my earlier articles that you can have a look.

How to Enable Access to Microsoft Dataverse Actions (Preview feature) in the Power Apps?

How to Create an Instant Plugin in the Dataverse Environment?

How to Install the Microsoft Dataverse Accelerator in the Dataverse Environment?

What is Microsoft Dataverse Accelerator?

How to get the Logged in User Information in the Power Apps?

How to Install Power Platform Tools in Visual Studio Code?

How to Install the Apps from the Microsoft AppSource to your Dataverse Environment?

Microsoft Power Apps Maker Portal has a new look

Microsoft Power Apps Emulator (New Feature)

How to Enable the Dataverse Offline (Experimental Feature) in the Canvas Apps?

How to set the Authoring Version in the Canvas App?

New version of Dataverse Browser is available for Dataverse Plugin Debugging

Latest Free Practice Assessments for Microsoft Certifications

Download CRM 365 V9.X Tools using PowerShell

How to set the Refresh cadence for a Power Platform Environment?

Update forms and views (Preview feature) in Dataverse

How to connect to Microsoft Dataverse in Power Automate Flow using Service principal?

How to Enable Copilot (Preview) feature in Canvas Apps?

How to Debug a Dataverse Plugin without Installing the Profiler in the Plugin Registration Tool?

How to Enable the Licenses (Preview) feature for a Power Platform Environment?

How to Enable Maker Welcome Content (preview) in Power Apps Maker Portal?

How to Enable Managed Environments for a Dataverse Environment?

How to Enable the Modern Controls (Preview feature) in the Canvas Apps?

How to Enable 2023 Release Wave 1 updates in the Dataverse Environment?

How to Deploy Enterprise Applications in the new Dataverse Environment?

What is Preview, Experimental and Retired features in Canvas Apps?

How to Enable the New Power Fx Formula Bar in Power Apps Studio?

Writing Power Fx formulas with natural language

Power Fx Formula Columns in Dataverse

Generating Power Fx formulas from examples

How to Create Dynamics 365 Marketing 30 Days Trial Version Online?

How to disable Multi-Factor Authentication (MFA) on Dynamics 365 Login?

How to Create Microsoft Power Apps 30 days Online Trial Version and an Environment?

How to Update the URL of the Dynamics 365 CE Environment?

Power Apps US Government service URLs

How to Download Microsoft Power Platform Icons?

Microsoft Dataverse and Postman articles

Microsoft Dynamics 365 Online regions list

How to Install, Connect to Microsoft Dataverse and Use XrmToolBox?

How to take the Back-Up of Dynamics 365 Online environment?

How to restore Database Backup in Dynamics 365 Online?

How to recover a deleted Environment in Dynamics 365 CRM Online?

Advertisement

This post was originally published on this site

- Advertisement -spot_img

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisement - Advertisement

Latest News

Linking Emails to Contact Roles in Zoho CRM Deals

Zoho CRM deals often involve multiple contacts. Since it is important to track communications related to a Zoho CRM...

More Articles Like This

- Advertisement -spot_img