You can extend the object navigator by creating new nodes and categories on each page. You can customize also any object collection node that you create by adding a new icon and label.

vise.navigator.nodespecs

Flex Client

HTML Client

Compatibility

yes

yes

Adds an object collection node, category, or pointer node extension to the object navigator.

Requires a data object of type ObjectNavigatorNodeSpec with available properties:

title - user-visible node title.

icon - (optional) 18x18 node icon resource ID.

navigationTargetUid - (optional) ID of the extension to navigate to when the node is selected.

parentUid - ID of the parent extension this node will be displayed in. Supported values are:

"vsphere.core.navigator.solutionsCategory". Accessibility: Object Navigator root.

"vsphere.core.navigator.virtualInfrastructure". Accessibility: Object Navigator → Global Inventory Lists.

"vsphere.core.navigator.administration". Accessibility: Object Navigator → Administration.

Example:

<extension id="com.vmware.samples.chassisACategory">
   <extendedPoint>vise.navigator.nodespecs</extendedPoint>
   <object>
      <title>ChassisA Category</title>
      <parentUid>vsphere.core.navigator.virtualInfrastructure</parentUid>
   </object>
</extension>

vise.inventory.representationspecs

Flex Client

HTML Client

Compatibility

yes

yes

Defines one or more new icon and label sets for an object collection node in the object navigator, along with the conditions under which the icon and label sets appear.

Requires a data object of type ObjectRepresentationSpec with available properties:

objectType - type of objects to which the specs apply.

specCollection - array of IconLabelSpec objects, each of which contains:

iconId - (optional) 18x18 icon resource ID.

labelId - (optional) label or its resource ID.

conditionalProperties - (optional) array of property names. The icon and label are applicable only if the values of all properties evaluate to "true". Note: To test for "false" use the negation operator "!" in front of the property name.

conditions - (optional) array of PropertyConstraint-s. The icon and label are applicable only if all constraints are satisfied.

Accessibility: Object Navigator → Global Inventory Lists.

Example:

<extension id="com.vmware.samples.chassisa.iconLabelSpecCollection">
   <extendedPoint>vise.inventory.representationspecs</extendedPoint>
   <object>
      <objectType>samples:ChassisA</objectType>
      <specCollection>
         <com.vmware.ui.objectrepresentation.model.IconLabelSpec>
            <iconId>#{chassis}</iconId>
         </com.vmware.ui.objectrepresentation.model.IconLabelSpec>
      </specCollection>
   </object>
</extension>

vsphere.core.objectTypes

Flex Client

HTML Client

Compatibility

yes

yes

Declares UI information that is associated with a custom object type.

Requires a data object of type com.vmware.core.specs.ObjectTypeSpec with available properties:

types - list of type names applicable to the same type info.

icon - resource ID of a 18x18 icon associated with this object type.

label - localized type name.

labelPlural - plural of the localized type name.

listViewId - (optional) ID of the list view extension used to display multiple objects of this object type. If missing or null, the default ${namespace}.list is used.

Accessibility: Not directly displayed, just declares the new object type.

Example:

<extension id="com.vmware.samples.chassisa.objectType">
   <extendedPoint>vsphere.core.objectTypes</extendedPoint>
   <object>
      <types>
         <String>samples:ChassisA</String>
      </types>
      <label>Chassis</label>
      <labelPlural>ChassisA's</labelPlural>
      <icon>#{chassis.icon}</icon>
   </object>
</extension>