5.5

Table Of Contents
Prerequisites
You must have performed the following tasks:
n
Imported a file into the Orchestrator server to use as a resource element
n
Created a Web view in the Orchestrator client
n
Created a Web view page in which to insert a URL to run an action
Procedure
1 From the drop-down menu in the Orchestrator client, select Administer.
2 In the Web views view, right-click the Web view to which to add the URL and select Edit.
You must unpublish a running Web view to edit it.
3 Right-click in the Attributes tab of the Web view editor and select Add attribute.
4 Create a Web view attribute, of type ResourceElement with the value set to the resource element of your
choice.
For example, name the Web view attribute MyImage if the resource element is an image file.
5 Click Save and close to exit the Web view editor.
6 Open the HTML page in which to insert the URL in an HTML editor.
7 Add a link to https://orchestrator_server:
8280/vco/vmo/web_view_url_folder/system/resources/attributes/resource_attribute_name.att at
the appropriate place in the HTML file.
Add a relative link to the resource element URL, that starts below the Web view URL folder value,
rather than hard-coding the address of the Orchestrator server in the URL, as the following example
shows:
<a href="./system/resources/attributes/MyImage.att">
Click here to obtain an image</a>
The URL uses the Web view attribute you set in the Orchestrator client to obtain the resource element in the
Web view.
Developing Web Views for VMware vCenter Orchestrator
46 VMware, Inc.