4.1

Table Of Contents
9 Open the Virtual Machine Manager Web view in a browser at http://
<orchestrator_server>
:
8280/vmo/.
The Workflows tab appears in the Web view. If you click the tab, you see the contents of the
runWorkflows.html file.
You added a tab to the Web view.
What to do next
Use the vco:WorkflowLink component to run workflows from the Workflows tab.
Add Links to Run Workflows from a Web View by Using the vco:WorkflowLink
Component
You add links to run workflows from a Web view by using the vco:WorkflowLink component. You define the
workflows to run by setting Web view attributes.
Prerequisites
n
Create a Web view tab in the Virtual Machine Manager Web view by modifying the Menu.html component
template.
n
Create the runWorkflows.html file to define the contents of the tab.
Procedure
1 Open the runWorkflows.html file in an HTML editor.
2 Add a reference to the vco:WorkflowLink component to the runWorkflows.html file.
<vco 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>
<ul>
<li>
<a jwcid="@vco:WorkflowLink" workflow="createVM" isDialog="true">
Create simple virtual machine</a>
</li>
</ul>
</vco>
When you set the isDialog property to true, a dialog box appears in which users provide input parameters
to run the workflow.
The workflow property refers to a Web view attribute called createVM that you create in the Orchestrator
client.
3 In the Web Views view in the Orchestrator client, right-click the Virtual Machine Manager Web view
and select Edit.
4 Right-click in the Attributes tab in the Web view editor and select Add attribute.
5 Click the attribute name and type createVM.
6 Click the attribute Type link and select Workflow from the list.
7 Click the attribute Value link and search for and select the Create simple virtual machine workflow.
8 Click Save and Close to exit the Web view editor.
vCenter Orchestrator Developer's Guide
324 VMware, Inc.