Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Configuring the Text widget in vCenter Operations Manager Enterprise (2030076)

Details

You can use the Text widget in vCenter Operations Manager Enterprise to show text in the user interface. The text appears in the Text widget on the dashboard.
 
The Text widget can read text from a Web page or from a text file. You specify the URL of the Web page or the name of the text file when you configure the Text widget.

Solution

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 vCenter 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: 
  1. Add the textDisplay_root property to the vcenter-ops/user/conf/web/web.properties file to specify the root folder that contains the text file.

    In Windows, use double backslash characters in the path. For example:

    textDisplay_root=C:\\folder\\example

    Linux example:

    textDisplay_root=/opt/example


  2. Restart the Enterprise Web service with the command:

    service vcopswebenterprise restart
To configure the Text widget:
  1. In vCenter Operations Manager Enterprise, click the tab for the dashboard that contains the Text widget.
  2. Click the Edit Widget icon on the widget's toolbar.
  3. Type another name in the Widget title text box to customize the name of the widget.
  4. Select a Refresh Widget Content option to specify whether the widget refreshes data after a specific time period.
  5. If you set Refresh Widget Content to On, type the refresh interval, in seconds, in the Widget Refresh Interval text box.
  6. 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.

  7. 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.

  8. Click Test to test whether the widget can read the Web page or file that you specified.

    Note: vCenter Operations Manager Enterprise 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.


  9. Click OK to save your changes.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 0 Ratings
Actions
KB: