5.5

Table Of Contents
vco:DisplayProperty Component
The vco:DisplayProperty component displays the names and values of the properties of objects in the
Orchestrator inventory.
Properties
The vco:DisplayProperty component defines the following properties.
Name Type Description
name *
String Property name
property *
String Property value
Example: vco:DisplayProperty Component
The following example shows how to use the vco:DisplayProperty component to display the details of a
virtual machine in a Web view.
<div jwcid="@vco:DisplayProperty" name="Name" property="MyVirtualMachine"/>
<div jwcid="@vco:DisplayProperty" name="Id" property="vm_89575"/>
<div jwcid="@vco:DisplayProperty" name="State" property="poweredOff"/>
vco:IfMemberOf Component
The vco:IfMemberOf component includes a block of content if the current user is a member of a given LDAP
group.
If you pass an array of LDAP groups to this component, the Web view displays the content if the current
user is a member of at least one of the groups in the list.
Properties
The vco:IfMemberOf component defines the following properties.
Name Type Description
attribute *
String
An attribute of the LdapGroup type, or
an array of LdapGroup objects.
Example: vco:IfMemberOf Component
The following example shows how to use the vco:IfMemberOf component to add information about a user's
LDAP group membership to a Web view.
<span jwcid="@vco:IfMemberOf" attribute="ognl:'adminGroup'">
You are a member of the group that the adminGroup attribute defines.
</span>
<span jwcid="@Else">
You are not a member of the group that the adminGroup attribute defines.
</span>
vco:IncludeJavascript Component
The vco:IncludeJavascript component inserts a <script> tag that defines a URL to a JavaScript file, to add
a JavaScript function to a Web view.
You insert the vco:IncludeJavascript component in the <head> tags of a Web view page.
Chapter 6 Web View Components
VMware, Inc. 33