You can use the Text Display widget to show text in the user interface. The text appears in the Text Display widget on the dashboard.

The Text Display widget can read text from a Web page or text file. You specify the URL of the Web page or the name of the text file when you configure the Text widget. To use the Text Display widget to read text files you must specify the path to the directory containing the text files. For example, if you configure the vRealize Business for Cloud adapter, relevant data is displayed in the Business Management dashboard.

The Text Display widget can display web sites that use the HTTPS protocol. The behavior of the Text Display widget with web sites that use HTTP, depends on the individual settings of the web sites.

How the Text Display Widget Configuration Options Work

If you configure the widget to use Text View mode, you can specify the path to the directory that contains the files to read or you can provide a URL. The content in the URL will be shown as text.

You can also use command line interface (CLI) commands to add file content to the Text Display widget.

  • To view a list of parameters, run the file -h|import|export|delete|list txtwidget command.

  • To import text or HTML content, run the import txtwidget input-file [--title title] [--force] command.

  • To export the content to the file, run the export txtwidget all|title[{,title}] [output-dir] command.

  • To delete imported content, run the delete txtwidget all|title[{,title}] command.

  • To view the titles of the content, run the list txtwidget command.

Where You Find Text Display Widget Configuration Options

To customize the data that appears in the dashboard widget, click Content > Dashboards. On the Dashboards toolbar, click the Add icon to add a dashboard or the Edit icon to edit the selected dashboard. In the Dashboard workspace, on the left, click Widget List, and drag a widget to the right pane of the dashboard. On the title bar of the selected widget, click the Edit icon to access the configuration options.

Table 1. Text Display Widget Configuration Options

Option

Description

Title

Enter a custom title that identifies this widget from other instances that are based on the same widget template.

Refresh Content

Enable or disable the automatic refreshing of the data in this widget.

If not enabled, the widget is updated only when the dashboard is opened or when you click the Refresh button on the widget in the dashboard.

Refresh Interval

If you enable the Refresh Content option, specify how often to refresh the data in this widget .

View mode

Display text in text or HTML format.

URL

Enter the URL.

File

Navigate to the file that contains the source text file by clicking the Browse button.

To add, edit, and remove source text files, go to the TxtWidgetContent node in the Manage Metric Config page. Navigate to Content > Manage Metric Config from the vRealize Operations Manager user interface.

Test

Validates the correctness of the text file or URL that you enter.