4.0

Table Of Contents
Procedure
u
Add a vmo:ListPane Component to the default.html file to add a list of virtual machines in the page.
You add a vmo:ListPane Component by adding the following <p> tag after the instruction to click a virtual
machine.
<vmo jwcid="@layout/VMMBorder" section="literal: home" title="Virtual Machine Manager">
<p style="margin-left: 16px; margin-top: 5px; margin-bottom: 5px;">
Click one of the virtual machines in your inventory to display its information.
</p>
<hr />
<p jwcid="@vmo:ListPane"
action="getVirtualMachineList"
actionParameters="attribute:vmFolder"
detailUrl="./panel.html"/>
</vmo>
The <p> tag instantiates the vmo:ListPane component with the following properties:
jwcid= "@vmo:ListPane"
Refers to the vmo:ListPane component, to add a list of virtual machines from
the server inventory to the Web view.
action=
"getVirtualMachineList
"
Links to a Web view attribute that runs an action in the Orchestrator server
to retrieve a list of virtual machines.
actionParameters=
"attribute:vmFolder"
Passes parameters to the getVirtualMachineList action. The
actionParameters property passes the vmFolder Webview attribute to the
action, to retrieve a list of the virtual machines from a virtual machine folder.
detailUrl=
"./panel.html"
The path to an HTML page in which to display information about each
virtual machine in the list.
You added a component to the Virtual Machine Manager Web view that obtains a list of virtual machines from
a given folder in the vCenter Server.
NOTE You create the Web view attributes that the vmo:ListPane component requires in the Orchestrator client.
What to do next
Define the Web view attributes that the vmo:ListPane component requires.
Define the Web View Attributes for the vmo:ListPane Component
The vmo:ListPane component refers to Web view attributes that provide an action to obtain an array of virtual
machines from the server and the virtual machine folder from which to obtain them.
Prerequisites
You added the vmo:ListPane component to the default.html Web view file.
Procedure
1 In the Web Views view in the Orchestrator client, right-click the Virtual Machine Manager Web view
and select Edit.
2 Click the Attributes tab in the Web view editor.
3 Right-click in the Attributes tab and select Add attribute.
Chapter 9 Developing Web Views
VMware, Inc. 319