If you plan to configure the Text widget to read text from a file, you must set a property in the web.properties file to specify the root folder that contains the file.
Important: Any vRealize Operations Manager Enterprise user who can view the dashboard, including non-admin users, can read the files in the root folder specified in the web.properties file.
To specify the root folder:
- Add the textDisplay_root property to the /usr/lib/vmware-vcops/user/conf/web/web.properties file to specify the root folder that contains the text file.
- Restart the Web service with the command:
service vmware-vcops-web restart
To configure the Text widget:
- In the vRealize Operations Manager UI, click the tab for the dashboard that contains the Text widget.
-
Click the Edit Widget icon on the widget's toolbar.
-
Type another name in the Widget title text box to customize the name of the widget.
-
Select a Refresh Widget Content option to specify whether the widget refreshes data after a specific time period.
-
If you set Refresh Widget Content to On, type the refresh interval, in seconds, in the Widget Refresh Interval text box.
-
Select a View mode option to specify how the text appears in the widget.
Option | Description |
Text | Select this option to show plain, unformatted text. Note: If the text is in HTML format, the widget shows the source text. |
HTML | Select this option if the text is in HTML format and you want the widget to show the formatted text. For example, if the text is on a Web page, the widget shows the Web page, not the source text. |
-
Specify the location of the Web page or file that contains the text to display.
Option | Action |
URL | Type the URL of a Web page for the widget to display, for example, http://www.vmware.com. |
File | Type the name of the text file that contains the text for the widget to display, or click Browse to browse to and select the file. |
- Click Test to test whether the widget can read the Web page or file that you specified.
Note: vRealize Operations Manager returns the error The root folder is not configured in the properties file if the textDisplay_root property is not specified in the web.properties file.
- Click OK to save your changes.