4.0

Table Of Contents
8 Add a reference to the DisplayVmInfo component to the panel.html file.
<h3>Virtual Machine Information</h3>
<vmo jwcid="@DisplayVmInfo" urlParameter="itemId" />
9 Open the Virtual Machine Manager Web view in a browser at http://
orchestrator_server
:8280/vmo/
and click one of the virtual machines in the list on the left.
Information about the virtual machine you clicked appears on the right.
You created a Web view page that obtains a list of virtual machines from the vCenter server and displays
information about each virtual machine in the list.
What to do next
Create a tab in the Virtual Machine Manager Web view to run workflows on objects in the vCenter server
inventory.
Create a Web View Tab by Using the Menu Component
The default Web view template provides a Menu component that you can use to create navigation tabs in a Web
view.
The VMMBorder component that the default Web view template uses to render its layout includes a reference to
the Menu component. Any changes you make to the Menu component appear in the Web view.
Prerequisites
n
Import the default Web view template to Orchestrator to create the Virtual Machine Manager Web view
n
Export the contents of the Virtual Machine Manager Web view to a working directory
n
Configure Orchestrator in Web view development mode
Procedure
1 Create an HTML file called runWorkflows.html and save it at the root of your working folder.
The runWorkflows.html file defines the body of the new tab.
2 Add a reference to the MyBorder component, a title, and some text to the runWorkflows.html file.
<vmo jwcid="@layout/VMMBorder" section="literal: home" title="Run Workflows">
<p style="margin-left: 16px; margin-top: 5px; margin-bottom: 5px;">Click a workflow to run
it.</p>
</vmo>
3 Rename the \component\Menu.html Web view template file to \component\VMMMenu.html.
If you run more than one Web view in the same Orchestrator server, all components must have a unique
name.
4 Open the \component\VMMBorder.html Web view template file in an HTML editor.
5 Change the reference to the Menu component to VMMMenu.
jwcid="@layout/VMMMenu
vCenter Orchestrator Developer's Guide
322 VMware, Inc.