5.5

Table Of Contents
2 Add a reference to the MyBorder component, a title, and some text 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>
</vco>
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/VMMMenu.html Web view template file in an HTML editor.
The Menu.html file contains an unordered list with one <li> entry that links to the home page of the
Web view.
<ul id="sectionMenu" class="menu">
<li jwcid="@Any" class="ognl:page.isCurrentPage(webview.urlFolder + '/default')?
'selected':''">
<a href="./">Home</a></li>
</ul>
5 Copy and paste the <li> entry to create a second menu tab.
You create menu tabs in the Web view by adding <li> entries to the unordered list.
6 Modify the new <li> entry to point to runWorkflows.html.
a Change the ognl:page.isCurrentPage OGNL statement to add the runWorkflows suffix to the URL.
b Change the <a href> link to point to ./runWorkflows.html.
c Change the <a href> text to Workflows.
<li jwcid="@Any" class="ognl:page.isCurrentPage(webview.urlFolder + '/runWorkflows')?
'selected':''">
<a href="./runWorkflows.html">Workflows</a></li>
7 Open the Virtual Machine Manager Web view in a browser at https://orchestrator_server:
8280/vco/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.
Chapter 8 Create a Simple Web View Using the Default Template
VMware, Inc. 57