I have the following entries in the plugin.xml for a custom object using templates.
<templateInstance id="<namespace>.viewTemplateInstance">
<templateId>vsphere.core.inventory.objectViewTemplate</templateId>
<variable name="namespace" value="<namespace>"/>
<variable name="objectType" value="ciscoUCS:object"/>
<excludedExtension><namespace>.related</excludedExtension>
</templateInstance>
<extension id="com.cisco.ucs.vcplugin.UcsDomainAppCategory">
<extendedPoint>vise.navigator.nodespecs</extendedPoint>
<object>
<title>#{objectNavigator.ucsdomain.app.category.label}</title>
<parentUid>vsphere.core.navigator.virtualInfrastructure</parentUid>
</object>
</extension>
<templateInstance id="com.cisco.ucs.vcplugin.lists.allUcs">
<templateId>vsphere.core.inventorylist.objectCollectionTemplate</templateId>
<variable name="namespace" value="<namespace>.UcsCollection"/>
<variable name="title" value="#{someLabel}"/>
<variable name="icon" value="#{someIcon}"/>
<variable name="objectType" value="ciscoUCS:SomeObject"/>
<variable name="listViewId" value="<namespace>.list"/>
<variable name="parentUid" value="com.cisco.ucs.vcplugin.UcsDomainAppCategory"/>
</templateInstance>
I also have a list.columns extension for the concerened namespace. On the global inventory I am able to get my object and on selecting it I am able to get the list of objects in the workspace. When I click on one object I expect I get navigated to the summary view of the object for which I have an extension too as below...
<extension id="com.cisco.ucs.vcplugin.handle.SummaryView">
<extendedPoint>com.cisco.ucs.vcplugin.handle.summaryViews</extendedPoint>
<object>
<name>Domain Summary</name>
<componentClass className="com.vmware.vsphere.client.htmlbridge.HtmlView">
<object>
<root>
<url>/vsphere-client/ucshtmlui/index.html?view=summary</url>
</root>
</object>
</componentClass>
</object>
</extension>
I have a routing table entry in the app.routing component of my app for 'summary'. But selecting an object gives the following on chrome console
GET https://localhost:9443/ui/navigation/data/vsphere.core.inventory.serverObjectViewsExtension?objectId=cr:ciscoUCS:UcsHandleMap:UCS%25252F%25252F10.106.233.156 500 (Internal Server Error)
For the chassisA sample I see that the object selection navigates to
Please let me know what am I missing here. Appreciate your help.
Thanks
Manoj M