Creating the Home Screen Shortcut Extension Definition
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.
Example: Example Home Screen Shortcut Extension shows an example 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.
Example: Example Home Screen Shortcut Extension
<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>
 
ShortcutSpec Extension Object Properties lists the properties you set for the com.vmware.vsphere.client.views.ShortcutSpec object.
In Example: Example Home Screen Shortcut Extension, the <targetViewUid> property has the value mySolution.myPlugin.myConsoleApp. This value matches the extension ID of the example global view extension defined in Adding a Global View Extension. 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.