4.1

Table Of Contents
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 In the Web views view of the Orchestrator client, right-click the Web view to which to add the URL and
select Edit.
You must unpublish a running Web view to edit it.
2 Right-click in the Attributes tab of the Web view editor and select Add attribute.
3 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.
4 Click Save and close to exit the Web view editor.
5 Open the HTML page in which to insert the URL in an HTML editor.
6 Add a link to http://
orchestrator_server
:
8280/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.
Create a Simple Web View Using the Default Template
The easiest way to create a Web view is to use a template. Orchestrator provides a default Web view template
to help you create Web views.
You can use the default template to create a simple Web view called Virtual Machine Manager. You can find
a ready-made version of the Virtual Machine Manager sample Web view in the bundle of Orchestrator
examples. For details about where to download the Orchestrator examples bundle, see “Example
Applications,” on page 7.
NOTE If you install the Virtual Machine Manager Web view from the Orchestrator samples bundle, you must
edit the vmFolder attribute to point to a virtual machine folder in your vCenter Server before you publish the
Web view.
Procedure
1 Import the Default Web View Template on page 314
To create a Web view by using the default Web view template, you must import the template to the
Orchestrator client.
2 Export the Virtual Machine Manager Web View to a Working Folder on page 315
You edit the HTML files and Web view components of the Virtual Machine Manager Web view on your
local system, using Web development tools.
3 Provide Unique Component Names on page 316
To avoid conflicts if you run multiple Web views in the same Orchestrator server, you must make sure
that all Web view components have unique names.
Chapter 9 Developing Web Views
VMware, Inc. 313