5.5
Table Of Contents
- Developing Web Views for VMware vCenter Orchestrator
- Contents
- Developing Web Views for VMware vCenter Orchestrator
- Web View Overview
- Weboperator Web View
- Web View Development Tasks to Perform in Orchestrator
- Create a Web View Skeleton
- Export a Web View as a Template
- Create a Web View from a Template
- Define a Web View Template as a Resource Element
- Create a Web View from a Resource Element Template
- Export Web View Files to a Working Folder
- Configure the Server for Web View Development
- Import Web View Files from a Working Folder
- Create a Web View Attribute
- Add a Resource Element to a Web View
- Disable Web View Development Mode
- Publish a Web View
- File Structure of a Web View
- Web View Home Page
- Web View Components
- Tapestry Web View Components
- Creating Tapestry Web View Components
- Orchestrator Tapestry Component Library
- vco:DisplayProperty Component
- vco:IfMemberOf Component
- vco:IncludeJavascript Component
- vco:IncludeStylesheet Component
- vco:IncludeWorkflowHeader Component
- vco:ListPane Component
- vco:Login Component
- vco:PageAccessControl Component
- vco:TaskAction Component
- vco:WebformContainer Component
- vco:WorkflowLink Component
- Accessing Server Objects from URLs
- Create a Simple Web View Using the Default Template
- Import the Default Web View Template
- Export the Virtual Machine Manager Web View to a Working Folder
- Provide Unique Component Names
- Configure the Server for Web View Development
- Edit the Virtual Machine Manager Web View Home Page
- Add a vco:ListPane Component to the Web View Home Page
- Define the Web View Attributes for the vco:ListPane Component
- Create a Web View Component to Display Virtual Machine Information
- Create a Web View Tab by Using the Menu Component
- Add Links to Run Workflows from a Web View by Using the vco:WorkflowLink Component
- Customize the Web View Interface
- Publish the Virtual Machine Manager Web View
- Index
Add a vco:ListPane Component to the Web View Home Page
You can add a vco:ListPane component to the Virtual Machine Manager Web view home page to display a
list of vCenter Server objects.
Prerequisites
n
Import the default Web view template into the Orchestrator server.
n
Export the contents of the default Web view template to a working directory.
n
Configure the Orchestrator server for Web view development.
n
Open the default.html file in an HTML editor.
Procedure
u
Add a vco:ListPane Component to the default.html file to add a list of virtual machines in the page.
You add a vco:ListPane Component by adding the following <p> tag after the instruction to click a
virtual machine.
<vco 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="@vco:ListPane"
action="getVirtualMachineList"
actionParameters="attribute:vmFolder"
detailUrl="./panel.html"/>
</vco>
The <p> tag instantiates the vco:ListPane component with the following properties:
Table 8‑2. Properties of the vco:ListPane component
Property Description
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 vCenter Server.
NOTE You create the Web view attributes that the vco:ListPane component requires in the Orchestrator
client.
Chapter 8 Create a Simple Web View Using the Default Template
VMware, Inc. 53