4.1

Table Of Contents
actionParameters="attribute:vmFolder"
detailUrl="./panel.html"/>
</vco>
The <p> tag instantiates the vco:ListPane component with the following properties:
jwcid= "@vco:ListPane"
Refers to the vco: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 Web view 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 vco:ListPane component requires in the Orchestrator client.
What to do next
Define the Web view attributes that the vco:ListPane component requires.
Define the Web View Attributes for the vco:ListPane Component
The vco: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 vco: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.
4 Click the attribute name and type getVirtualMachineList.
5 Click the attribute Type link and select Action from the list.
6 Click the attribute Value link and search for and select the getAllVirtualMachinesByFolder action.
The getAllVirtualMachinesByFolder action returns an array of VC:VirtualMachine objects.
7 Right-click in the Attributes tab and select Add attribute to create the following Web view attribute:
n
Name: vmFolder
n
Type: VC:VmFolder
vCenter Orchestrator Developer's Guide
320 VMware, Inc.