Easily Integrate Syncfusion UI Components into PowerApps
Detailed Blog page Skeleton loader
Easily Integrate Syncfusion UI Components into PowerApps

TL;DR: Integrating Syncfusion UI components can enhance your Microsoft PowerApps functionalities and user experience. This blog covers everything from setting up the prerequisites to deploying the Syncfusion component. It is perfect for developers looking to streamline data management and app interactivity within PowerApps.

This guide will walk you through integrating Syncfusion components into Microsoft PowerApps.

PowerApps is a Microsoft platform that enables the creation of custom business apps without extensive coding skills. Its drag-and-drop interface and prebuilt templates simplify app development, lets you connect to data sources, and integrate with other Microsoft services. PowerApps is ideal for automating business processes and boosting productivity.

Syncfusion components offer powerful, feature-rich controls that enhance your PowerApps apps’ functionality and user experience. Following this guide, you’ll learn how to incorporate the Syncfusion Grid component into your PowerApps.

Prerequisites

Before starting with the Syncfusion PowerApps Components library, ensure you have the following:

Creating and deploying the Syncfusion solution package

To use Syncfusion components in PowerApps, we need to create and deploy the solution package by following these steps:

  1. First, clone the Syncfusion components repository from GitHub.
  2. Then, open the cloned repository in your preferred code editor, such as VS Code.
  3. Open a terminal in the repository’s root folder and run the following command to install the dependencies:
    npm install
  4. Now, add the Syncfusion license key by placing it in the syncfusion-license.txt file in the project root folder.

    Note: A license banner will appear if the component is used without a Syncfusion license key. To obtain your Syncfusion license key, visit the Get license key page.

  5.  Then, create the solution package by running the following command:
    npm run pack
  6. Locate the package in the SyncfusionPowerAppsComponents folder. This package contains the Syncfusion components that are ready for deployment in PowerApps.SyncfusionPowerAppsComponents folder
  7. Update the Environment property in the config.json file with your PowerApps environment name. This ensures the solution package will be deployed in your target environment.Update the Environment property with your PowerApps environment name
  8. Deploy the solution package to your PowerApps environment by executing the following command:
    npm run deploy
  9. After successful publishing, navigate to the Solutions page in the PowerApps to view the imported Syncfusion components.Navigate to the Solutions page to view the imported Syncfusion components

Creating a blank canvas app in PowerApps

Follow these steps to create a blank canvas app in PowerApps:

  1. Open the PowerApps portal in your browser. Ensure you are in the correct environment where the Syncfusion code components solution package was deployed.
  2. Select the Start with a page design button on the Home page. This option allows you to begin creating a new app from scratch.Select the Start with a page design button
  3. Choose either a Tablet or Phone layout, depending on the target, under the Blank canvas option from the available templates.
    Choosing Table or Phone layout under Blank Canvas
  4. Now, the new blank Canvas app automatically opens in the PowerApps Studio, as shown below.
    Created new blank Canvas app in PowerApps Studio

Adding the Syncfusion Grid component

Following these steps, let’s import our Syncfusion React DataGrid component and add it to the blank Canvas app we created:

  1. In the Canvas app, go to the Insert tab and click the Get more components option, which is in the top right corner of the Inset tab options. Refer to the following image.Insert tab in Canvas App
  2. Switch to the Code tab, select the SfGrid package from the Import components window, and click the Import button.Import the SfGrid component
  3. Once imported, the SfGrid component will be under the Code components section of the Insert tab. Now, click or drag it to your app screen.Click or drag the SfGrid component into the app screen
  4. Then, configure the Grid. Select a data source, resize, and adjust the properties like Allow Paging, Allow Editing, and Allow Sorting as needed.

Previewing and publishing

Finally, let’s preview and publish the Grid on the PowerApps by following these steps:

  1. To test your app on different devices, click the Preview button (Play icon). Previewing the PowerApps on different devices
  2. Once ensured, click the Publish button to make your app available to users, allowing them to access and use the Syncfusion Grid component.Publish the PowerApps

GitHub reference

For more details, refer to the integrating Syncfusion components into the PowerApps GitHub demo.

Conclusion

Thanks for reading! By integrating Syncfusion components, you can significantly enhance the capabilities of your PowerApps applications. Explore other Syncfusion components to improve your apps’ functionalities and user experience.

If you’re an existing customer, you can download the latest version of Essential Studio® from the License and Downloads page. For those new to Syncfusion, try our 30-day free trial to explore all our features.

We welcome your feedback and questions. Need assistance? Reach out through our support forum, support portal, or feedback portal. We’re here to help you!

Be the first to get updates

Silambarasan Ilango

Meet the Author

Silambarasan Ilango

Silambarasan Ilango is a product manager of web platform team at Syncfusion. He is passionate about .NET web and front-end JavaScript technologies. He has been active in web development since 2016.