This article provides a step-by-step guide for How to Load Syncfusion PowerApps RichTextEditor Code Component in PowerApps Form.
Syncfusion PowerApps RichTextEditor code component requires data to be loaded from a Dataverse column. Follow the steps provided in Create a new Dataverse table. Skip this step if you have an existing table with data.
Create the Dataverse table as outlined below to connect it with the RichTextEditor component:
Column Name | DataType |
---|---|
RichTextEditor | SingleLine.Text |
Description | Multiple lines of text |
Note
When setting up the Dataverse table, ensure that the Description column is configured to support HTML content for compatibility with the RichTextEditor component.
- Initiate the creation of a canvas application by following these docs Create a PowerApps Canvas application.
Integrating the Gallery & Form into the blank canvas application involves the following steps:
-
Within the created blank canvas application, navigate to
Insert
->Popular
Section. -
Drag and drop the
Vertical gallery
component located in thePopular
section into your application layout. -
Drag and drop the
Edit Form
component located in thePopular
section into your application layout. -
To initialize the Vertical gallery and Edit form component with data from previously created Dataverse tables or connectors listed in the DataSource tab, simply click and load the data.
[!NOTE] When utilizing the
PowerFx table
orConnectors
to access the data source, you can incorporate columns data by selectingedit
in the Fields section located beneath the DataSource property. For additional information, please refer to the comprehensive list of all connectors supported in PowerApps. -
To integrate a Gallery with a Form, set the Form's
item
property in the PowerFx formula bar toGallery1.Selected
. This binds the Form to the item selected in Gallery1. -
The output of the Vertical gallery and Edit form component will displayed. Customize the component properties in the right property pane and also via the PowerFx tab on top.
Enhance your canvas application by adding the Syncfusion PowerApps RichTextEditor code component using the following steps:
-
Integrating the Syncfusion PowerApps RichTextEditor code component into the canvas application by following docs Import Syncfusion PowerApps RichTextEditor code component into canvas application.
-
Unlock Status DatacardValue1 and then delete the highlighted datacard value control.
-
From the
Insert
tab on left pane, drag and drop theSfRichTextEditor
component located in thecode components
section into the Description column of the Edit Form. -
Set the
value
property of the RichTextEditor code component toThisItem.Description
to bind it to the Description column data. -
In the
Update
property of the Description column in the Edit Form, set it toSfRichTextEditor1.Value
to save the editor’s content. -
If issues persist in the Form, resolve them by clicking on the error, selecting the
Edit in the formula bar
option, and updating the correct properties forSfRichTextEditor1.Y
andSfRichTextEditor1.Height
. -
The output of the PowerApps RichTextEditor code component will display within the PowerApps Form. Customize the component properties using the right property pane or through the PowerFx tab at the top.
To preview the Syncfusion PowerApps RichTextEditor application in development environment with multiple device resolution, click the Preview
button at the top right corner of the PowerApps portal.
To publish the Syncfusion PowerApps RichTextEditor application in the production environment, click the Publish
button at the top right corner of the PowerApps portal. Now you can share the published application with your users.
Once the application is published, you can preview it by clicking the play
button of the created canvas application from the Apps
tab on the homepage.