Text/HTML
2 minutes to readText/HTML DataPart is a standalone DataPart that can be added to an AppPage to present a customized page with text, images, and links. Text/HTML DataPart supports custom HTML, CSS, and JavaScript code.
Steps to create a Text/HTML DataPart
- In the upper panel, select the Add elements button.
- Select HTML → Text/HTML.
- Configure the page style and content. You can use plain text in an HTML editor or custom code that supports syntax highlight. You can insert parameters using the parameter picker. Learn more about parameters.
- Click Create.
After creating a Text/HTML DataPart, you can edit its content and style by clicking the Edit Text/HTML button in the right panel.
In the Interactive controls section of the right panel, you can configure Header controls, which appear in the DataPart title area as action buttons for app users. To add a new control, click Add. Then enter a label for the control and select the action that clicking this control will result in. You can choose from the following:
- Go to AppPage redirects to a specific page in your app. For example, you can add a “Create” header control, giving app users quick access to create new records.
- Go to URL redirects to a custom URL. You can use this option, for example, to build navigation between AppPages deployed on your own website.
When either redirection option is used, session parameters are automatically passed between the DataPart and the destination page. For Go to AppPage, you can configure an alternative option to pass query string parameters instead.
To learn more, see Communication Between DataParts.