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
Prerequisites
You must have performed the following tasks:
n
Imported a file into the Orchestrator server to use as a resource element
n
Created a Web view in the Orchestrator client
n
Created a Web view page in which to insert a URL to run an action
Procedure
1 From the drop-down menu in the Orchestrator client, select Administer.
2 In the Web views view, right-click the Web view to which to add the URL and select Edit.
You must unpublish a running Web view to edit it.
3 Right-click in the Attributes tab of the Web view editor and select Add attribute.
4 Create a Web view attribute, of type ResourceElement with the value set to the resource element of your
choice.
For example, name the Web view attribute MyImage if the resource element is an image file.
5 Click Save and close to exit the Web view editor.
6 Open the HTML page in which to insert the URL in an HTML editor.
7 Add a link to https://orchestrator_server:
8280/vco/vmo/web_view_url_folder/system/resources/attributes/resource_attribute_name.att at
the appropriate place in the HTML file.
Add a relative link to the resource element URL, that starts below the Web view URL folder value,
rather than hard-coding the address of the Orchestrator server in the URL, as the following example
shows:
<a href="./system/resources/attributes/MyImage.att">
Click here to obtain an image</a>
The URL uses the Web view attribute you set in the Orchestrator client to obtain the resource element in the
Web view.
Developing Web Views for VMware vCenter Orchestrator
46 VMware, Inc.