Usage and example

For the purpose of demonstration, in this example the note created with the Rich Text Editor web extension is stored in an Application Studio report variable. Typically the note would be written to an OLAP or relational database.

To insert and configure the Rich Text Editor web extension:

  1. Create an Application Studio report.
  2. Create a report variable called NoteRich.
  3. Drag the NoteRich variable to cell A11.
  4. Define a Set Parameters action on cell A11 and select Web Extenion as the mode. In the Parameters section, click Add parameter and select the NoteRich report variable. In the Edit Value dialog specify this function as the value of the parameter:=GETPROPERTY(Actions.Input.text,"FormattedNote","content")
    The function reads the formatted text from the action result.
  5. Insert the sample data in this table into the specified cell ranges.
    A12:A14
    FALSE
    TRUE
    TRUE
  6. Select Web Extension on the Objects toolbar and double-click the Rich Text Editor web extension.
    The cursor changes to a cross hair.
  7. Drag the cursor to insert, size, and position the web extension.
    The Format Web Extension dialog is displayed.
  8. Specify these parameters. Specify ="" to use defaults where available:
    Text
    =A11
    Read Only
    =A12
    These values are valid:
    • TRUE
    • FALSE

    If TRUE is specified, the editor is displayed in read-only mode and text cannot be changed.

    Auto Focus
    =A13
    These values are valid:
    • TRUE
    • FALSE

    If TRUE is specified, the editor focuses when the report is initialized.

    Save formatted and plain text
    =A14
    These values are valid:
    • TRUE
    • FALSE

    If TRUE is specified, text is saved as formatted text and as plain text.

    Auto Save
    =TRUE
    These values are valid:
    • TRUE
    • FALSE

    Unsaved data is indicated by a triangle in the top left corner of a the editor.

    If the parameter value is TRUE, text is saved automatically and no Save button is displayed.

  9. Click OK.
  10. View the report in a web browser.
In Edit mode, the toolbar has these options:
  • Font size
  • Font family
  • Font color
  • Remove format
  • Font style
  • Text alignment
  • Ordered list
  • Unordered list
  • Text indent
  • Hyperlink
  • Save
  • Discard