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
<h1>Virtual Machine List</h1>
<div jwcid="vmList@vco:ListPane"
action="getVirtualMachineList"
actionParameters="attribute:vmFolder"
detailUrl="system/partials/virtual_machine.html" >
Select a virtual machine on the left to display it.
</div>
</div>
</body>
</html>
vco:Login Component
With the vco:Login component, you can customize the login page of a Web view.
The login page of a Web view must adhere to the following rules.
n
You must name the login page login.html.
n
You must save the login page at the root of the Web view file structure.
Properties
The vco:Login component has no properties.
Example: vco:Login Component
The following example code line adds a login link to a login.html page.
<span jwcid="@vco:Login">login here</span>
vco:PageAccessControl Component
The vco:PageAccessControl component allows or denies users access to the Web view page that contains
this component. The vco:PageAccessControl component checks the membership of the Web view user to an
LDAP group.
If the user is a member of at least one group that the deny attribute defines, the Web view denies the user
access to the page. If the user is not a member of a group in the deny attribute, the component checks the
allow attribute.
If the user is a member of at least one group that the allow attribute defines, the user can access the page.
Otherwise, the Web view does not display the page.
You set the LDAP groups of users who can view the page as Web view attributes in the Orchestrator client.
Properties
The vco:PageAccessControl component defines the following properties.
Name Type Description
deny
String A Web view attribute of the type
LdapGroup, or an array of LdapGroup
objects.
allow
String A Web view attribute of the type
LdapGroup, or an array of LdapGroup
objects.
Chapter 6 Web View Components
VMware, Inc. 37