5.5

Table Of Contents
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.