Getting Started with Syncfusion PowerApps RichTextEditor Code Component in Model-Driven Application (Form)
This article provides a step-by-step guide for setting up a PowerApps model-driven application with Dataverse table form and integrating the Syncfusion PowerApps RichTextEditor code component.
PowerApps Model-Driven is a versatile platform for creating structured applications with a focus on data-centric design. It offers a guided approach, allowing users to build efficient business processes and workflows within a predefined data model.
Syncfusion PowerApps RichTextEditor code component requires data to be loaded from a Dataverse column. Follow the steps provided in Create a new Dataverse table section to create a new table in Dataverse using the CSV in the RichTextEditor code component data folder for Value property. Skip this step if you have an existing table with data.
To add the Syncfusion PowerApps RichTextEditor code component to the Dataverse table, follow the steps below:
-
In the Dataverse table, find the
Formstab in the Data experiences pane to streamline data management. Locate theInformationform with the main form type to define how users interact with and organize data effectively. -
Within the left navigation pane of the
Informationform, locate theComponentstab. Here, click onGet more componentsat the bottom of the tab. -
A window will appear. Switch to the
Build by otherstab at the top and import the built code component namedSfRichTextEditorfrom the published solutions. -
Create a new section in the form, opting for a
1-column tabfrom thepopularsection. Rename this tab as RTE View to clearly delineate its purpose. This tab will be utilized to render the RichTextEditor code component. -
Within the
More Componentssection, select theSfRichTextEditorcomponent. Configure the Value property of the RichTextEditor code component by assigning the Dataverse tables any one column created previously. This step ensures that the RichTextEditor code component is seamlessly connected to the relevant data. We can also use the optional RTEConfig JSON configuration to configure the RichTextEditor code component. Also, customize other properties as needed. -
The output of the RichTextEditor code component will appear as shown below. Click the
Save and publishbutton at the top right corner of the PowerApps portal. This action commits the changes made to the form, ensuring that the Syncfusion PowerApps RichTextEditor code component is now an integral part of the Dataverse table.
To create a model-driven application, follow the steps below:
-
In the PowerApps portal, navigate to the
Appstab in the left navigation pane and click on theStart with a page designoption. -
Choose the
Blank page with navigationoption and provide a meaningful name for your model-driven application. Proceed by clickingcreate. -
The PowerApps platform will generate a blank model-driven application based on your specifications. You are now ready to start building your application.
-
To incorporate data into your application, click on the
Add Pagebutton. ChooseDataverse tablefor the data source & columns, and select the specific table you created in the previous steps. -
The Syncfusion PowerApps RichTextEditor code component can be visible in the form by navigating into a any column data.
For more information, refer to the Create an blank model driven app in PowerApps.
To publish the Syncfusion PowerApps RichTextEditor model driven application in the production environment, click the Publish button at the top right corner of the PowerApps portal.
After publishing the application, click the play button to preview the published application. You can also share the published application with your users.











