Text widget

Important 

In Collibra 2024.05, we launched a new user interface (UI) for Collibra Data Intelligence Platform! You can learn more about this latest UI in the UI overview.

Use the following options to see the documentation in the latest UI or in the previous, classic UI:

The Text widget enables you to show text on a dashboard. It offers a rich text editor, allowing you to format text with bold formatting, italics, headings, lists, and more. Additionally, it offers an HTML Editor for advanced styling.

You can use the Text widget to share a variety of information, from the latest news and updates in data governance to providing helpful links for users to explore specific views or resources.

Note 
  • To add code, use the HTML Editor tab in the Text widget.
  • In the latest UI, you can't inject CSS files into Collibra to customize multiple dashboards at once, as you did with the classic UI. You need to manually style each dashboard instead.

Configure the Text widget

Prerequisites

  • To manage your own dashboard: You have a global role that has the following global permission: Manage Your Own Views, Dashboards, Search Filters
  • To manage another user's dashboard: You have a global role that has the following global permission: Manage Shared Views, Dashboards, Search Filters

Steps

  1. Open the widget for configuration.
  2. To add code or HTML text, click HTML Editor, and then enter or paste your code in the box.
    Tip 
    • The HTML Editor in the Text widget supports most HTML elements, including iframes.
      However, this can potentially allow an attacker to run an XSS attack by injecting malicious HTML. To improve security, you can have the following HTML elements automatically removed via the Prevent advanced html features in text dashboard setting in Collibra Console.
      • frame
      • frameset
      • iframe

      Event handlers, including JavaScript, are always removed.
      For more information, go to Security configuration.

    • You can maximize the HTML Editor. In the full screen view, you can see a preview of your code.
    • When you switch between the HTML Editor and Rich Text Editor, the content in the HTML Editor is analyzed. If the HTML Editor contains elements not supported in the Rich Text Editor, a warning message appears. If you continue, the message "Your content may not display correctly" is shown above the Text widget configuration.
  3. To add plain text, click Rich Text Editor, and then enter Enter or paste your text in the box.
  4. Tip 
    • You can format the text in the box using the text formatting options. For more formatting options, click ....
    • If you want to paste text from external sources into the text box, we recommend clicking <> and then pasting the text into the Source Code dialog box. This allows you to edit the HTML source code and help remove any unwanted formatting or tags. The Source Code dialog box does not support iframes.
    • For more information, go to Text editors.
    • If you see the message "Your content may not display correctly" above the Text widget configuration, the code in the HTML Editor may include unsupported tags that affect the final display.
  5. On the Widget tab, enter the required information.
  6. On the widget, click Save.
  7. In the upper-right corner of the page, click Close & save editsSave.
Warning 
  • The text editor supports most HTML elements and table (< t >) structures. The text editor supports most HTML elements. However, this can potentially allow an attacker to run an XSS attack by injecting malicious HTML. To improve security, you can have the following HTML elements automatically removed via the Prevent advanced html features in text dashboard setting in Collibra Console. For more information, go to Security configuration.
    • frame
    • frameset
    • iframe
    • svg
  • Event handlers and scripts, including JavaScript, are always removed.