All home screen shortcut extensions must reference the vise.home.shortcuts extension point. The extension definition must provide an extension object of type com.vmware.vsphere.client.views.ShortcutSpec.
The following table lists the properties you set for the com.vmware.vsphere.client.views.ShortcutSpec object.
The following example shows an extension definition for a home screen shortcut extension. In the example, the <extendedPoint> element specifies the home screen shortcut extension point. The <object> element defines a data object of type com.vmware.vsphere.client.views.ShortcutSpec.
<extension id = "mySolution.myPlugin.sampleGVShortcut"> <extendedPoint>vise.home.shortcuts</extendedPoint> <object> <name>Sample Shortcut to Global View</name> <categoryUid>vsphere.core.controlcenter.inventoriesCategory</categoryUid> <icon>#{samplePluginImages:logo}</icon> <targetViewUid>mySolution.myPlugin.myConsoleApp</targetViewUid> </object> </extension>
In the example, the <targetViewUid> property has the value mySolution.myPlugin.myConsoleApp. This value matches the extension ID of the example global view extension defined in Adding Global View Extensions. When the user clicks the shortcut created by the example extension, the mySolution.myPlugin.myConsoleApp extension appears in the vSphere Web Client main workspace, and the object navigator displays the appropriate pointer or virtual infrastructure node.