Skip to main content

Helpcenter

SwatRichText

The object type SwatRichText is a control to add a rich text editor to a form. To add a rich text editor to a grid in a screen see SwatText.

This control can be used to add formatted text to any desired record. The text is stored in the Build.One database and the internal selfhdl (Build.One GUID) is used as the unique reference between the text and the record. This applies to the Build.One database as well as to any other integrated customer database.

A SwatRichText can also be used to add formatted HTML-Content to an existing field in your database.

  1. Go to Design > Components > Forms.

  2. Open the form to which you want to add the SwatRichText in the Object Designer.

  3. In the Browse catalog of objects panel search for the object SimpleSwatRichText

  4. Drag & drop it to the Preview panel.

    Note

    Drop it to a position where the Preview panel is highlighted in green, not in red.

    • You can add the SimpleSwatRichText as a visualization for an existing entityfield. To do this, replace the corresponding field with the SwatRichText and rename it like this field.

  5. Set the following attributes:

    1. ENABLED = True

  6. Click Save.

Attributes

HEIGHT-CHARS: Defines the Height of the SimpleSwatRichText in lines.