The vSphere Web Client provides an extension point for all global view extensions, named vise.global.views. The extension definition must reference the vise.global.views extension point and provide an extension object of type com.vmware.vsphere.client.views.GlobalViewSpec.

The following table describes the properties that you provide for the com.vmware.vsphere.client.views.GlobalViewSpec extension data object by using the <object> element in your extension definition.

Property

Type

Description

<name>

string

The name of the global view that appears as a title in the main workspace. In the Example: Example Flex-Based Global View Extension, the value is hard-coded as My Console App. You can also use a dynamic resource string from your plug-in module.

<componentClass>

string

The Flex class that implements the global view. The Flex class appears in the vSphere Web Client main workspace. You must set the value of the <componentClass> element className attribute to the fully qualified name of the Flex view class.

If you develop an HTML-based extension, use the com.vmware.vsphere.client.htmlbridge.HtmlView Flex object. See Properties of the HtmlView Extension Object.

<applyDefaultChrome>

boolean

A Boolean value that indicates whether the global view appears with the default header, footer, title, and icon graphics provided by the vSphere Web Client. The property is optional and the default value is true. If the property is omitted, the property value is considered to be the default.

The following example extension definition adds a console application to the main area by creating a global view extension. The <object> element defines a data view object of type com.vmware.vsphere.client.views.GlobalViewSpec.

<extension id="mySolution.myPlugin.myConsoleApp">
    <extendedPoint>vise.global.views</extendedPoint>
    <object>
        <name>My Console App</name>
        <componentClass className="com.myCompany.MyConsoleApp"/>
        <applyDefaultChrome>true</applyDefaultChrome>
    </object>
</extension>