Hello
We have implemented a list view. We have a custom solution category which currently points to a Custom View. Is it possible to point to "Getting Started" tab. This is what i have in my plugin.xml
<extension id="com.block.app">
<extendedPoint>vise.global.views</extendedPoint>
<object>
<icon>#{icon.16.block}</icon>
<name>Block System</name>
<componentClass className="com.Blockui.views.headers.blockHeaderView"/>
</object>
</extension>
<extension id="com.block.app.shortcut">
<extendedPoint>vise.home.shortcuts</extendedPoint>
<object>
<icon>#{icon.256.block}</icon>
<name>Vblock System</name>
<categoryUid>vsphere.core.controlcenter.inventoriesCategory</categoryUid>
<targetViewUid>com.block.app</targetViewUid>
</object>
</extension>
<extension id="com.block.navigator">
<extendedPoint>vise.navigator.nodespecs</extendedPoint>
<object>
<icon>#{icon.16.block}</icon>
<title>Block System</title>
<parentUid>vsphere.core.navigator.solutionsCategory</parentUid>
<isFocusable>true</isFocusable>
<viewOpenedUponFocus
className="com.vmware.ui.objectnavigator.views.CategoryNodeTreeView">
<object>
<root>
<numLevels>2</numLevels>
</root>
</object>
</viewOpenedUponFocus>
<navigationTargetUid>com.block.app</navigationTargetUid>
</object>
</extension>
So instead of BlockHeaderView, i would like to display Getting started tab.
<extension id="com.vce.vision.navigator.home">
<extendedPoint>vise.navigator.nodespecs</extendedPoint>
<object>
<icon>#{icon.16.vblock}</icon>
<title>Vblock Home</title>
<parentUid>com.vce.vision.navigator</parentUid>
<navigationTargetUid>com.vce.vision.app</navigationTargetUid>
</object>
</extension>
All you need to do is use the extension id of your Getting Started view in <navigationTargetUid>
Thanks a lot for your reply.
Do i need to be careful what to put in the extendedPoint for the gettingStartedViews extension. I added this to the plugin.xml and updated the navigatedTargetUid to com.vce.vision.app.view.gettingStarted but it isnt working. Is there something about namespace i need to consider. Please help!
<extension id="com.vce.vision.app.view.gettingStarted">
<extendedPoint>com.vce.vision.app.gettingStartedViews</extendedPoint>
<object>
<componentClass>
<className>com.vmware.vsphere.client.views.GettingStartedView</className>
<object>
<root>
<title>Getting Started</title>
<description>Getting started Description</description>
<image>#{icon.16.vblock}</image>
</root>
</object>
</componentClass>
</object>
</extension>
1) <extendedPoint>com.vce.vision.app.gettingStartedViews</extendedPoint> => "com.vce.vision.app" doesn't look like the namespace used in your objectViewTemplate
2) <className>com.vmware.vsphere.client.views.GettingStartedView</className> is not part of the SDK. You need to create your own view component.
Here is the chassis sample code:
<extension id="com.vmware.samples.chassisGettinStarted">
<extendedPoint>com.vmware.samples.chassis.gettingStartedViews</extendedPoint>
<object>
<componentClass className="com.vmware.samples.chassisui.views.GettingStartedView"/>
</object>
</extension>
Thank you for your reply. I am little confused. What would be the objectViewTemplate for my solutions category? I wanted to add a getting started view when the user clicks on the left nav.
Can anyone help on how to add getting started tab for my own node (which is not a object type)? Also i did take a look at vCO example but it doesnt make sense to me. Please Help!
hi Barkha , laurentsd ,
Wven i am facing the same problem. I want to create a vco like solution for which when i click the node in solution category or a shortcut, it should lead me to a page with getting started page , just like vco or my tag from nav panel on left side. i am confused here that what should be the extension structure to which i should point to. as this is not for any object type.
is it compulsary to create a objectview template instance to get this getting started, monitor and manage tabs.
Hey,
I'm wondering whether the problem is solved? I got stuck here~
Please help me with my code where I defined solutionsCategory navigator whose target is gettingStartedView of A, it doesn't work. Thank you so much!
Define Object A and gettingStartedView of A:
<templateInstance id="com.A.viewTemplateInstance">
<templateId>vsphere.core.inventory.objectViewTemplate</templateId>
<variable name="namespace" value="com.A"/>
<variable name="objectType" value="entity:A"/>
</templateInstance>
<extension id="com.A.gettingstarted">
<extendedPoint>com.A.gettingStartedViews</extendedPoint>
<object>
<componentClass
className="com.A.views.GettingStartedView"/>
</object>
</extension>
define solutionsCategory navigator whose target is gettingStartedView of A:
<extension id="com.objectNavigator">
<extendedPoint>vise.navigator.nodespecs</extendedPoint>
<object>
<title>Company A Product</title>
<parentUid>vsphere.core.navigator.solutionsCategory</parentUid>
<icon>#{A_16.icon}</icon>
<isFocusable>true</isFocusable>
<viewOpenedUponFocus
className="com.vmware.ui.objectnavigator.views.CategoryNodeTreeView">
<object>
<root>
<numLevels>2</numLevels>
</root>
</object>
</viewOpenedUponFocus>
<navigationTargetUid>com.A.gettingstarted</navigationTargetUid>
</object>
</extension>
Hello,
Can you clarify the problem a bit?
Do you want to reuse the existing getting started views? Or you just want to create your custom view and show it in a tab named "Getting Started"?
<componentClass className="com.A.views.GettingStartedView"/>
Do you have such class: com.A.views.GettingStartedView ?
I want to create a custom view and show it in a tab named "Getting Started".
and
Yeah I have the class com.A.views.GettingStartedView.mxml.
The chassis sample shows how to add a Getting Started view when using vsphere.core.inventory.objectViewTemplate