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
Name Type Description
redirectUrl
String A URL to which to redirect the user if
they are not authorized to view the
page. If redirectUrl is not set, the
Web view returns a 403 error.
message
String
If redirectUrl is set and message is
set, the URL of the page to which the
Web view redirects the user contains a
msgquery parameter and the contents
of the message property. For example
error_page.html?
msg=message_content.
Example: vco:PageAccessControl Component
The following example code line allows access to a page to users who are members of the group that the
adminGroup Web view attribute defines.
<span jwcid="@vco:PageAccessControl" allow="adminGroup"/>
The following example code line denies access to a page to users who are members of the group that the
partnerGroup Web view attribute defines.
<span jwcid="@vco:PageAccessControl" deny="partnerGroup"/>
The following example code line redirects users who are members of the partnerGroup LDAP group to an
error page. The error401.html file is at the root of the Web view file structure.
<span jwcid="@vco:PageAccessControl" deny="partnerGroup" redirectUrl="error401.html"/>
vco:TaskAction Component
The vco:TaskAction component displays the scheduled action from a Task object. A user selects the task
from a list that a vco:ListPane component generates.
Properties
The vco:TaskAction component defines the following properties.
Name Type Description
stringValue
String
The stringValue of the task that the
user selects. Every object in the
Orchestrator server has a
stringValue string representation.
type
String The type of the task that the user
selects.
attribute
String A Web view attribute. The
vco:TaskAction displays the possible
actions to perform on the object that
corresponds to this Web view
attribute.
action
String
A Web view attribute of type Action.
The vco:TaskAction component
displays the possible actions to
perform on the object that this action
returns.
actionParameters
List A list of parameters for the action.
Developing Web Views for VMware vCenter Orchestrator
38 VMware, Inc.