VMware {code} Community
phanimadala
Contributor
Contributor

Getting Started and Sumary Tabs from Shortcut Home Icon



Hi,


I am working on our plugin for vsphere webclient. I have a home shortcut icon of our plugin in the webclient. 


I would like to open a page with two tabs : Getting Started and Summary Tab (similar to "vCenter Orchestrator" - I attached an image of this plugin) 


Both will be static html pages, so there is no requirement for the object basis.


Here is my plugin.xml but it is not working 


  <extension id="com.ni.eseries.vcenterWebClientui.homeShortcut">



      <extendedPoint>vise.home.shortcuts</extendedPoint>



      <object>



         <name>Netapp1</name>



         <icon>#{netappIcon-32x32}</icon>



         <categoryUid>vsphere.core.controlcenter.inventoriesCategory</categoryUid>



         <targetViewUid>com.ni.eseries.vcenterWebClientui.GettingStartedView</targetViewUid>



      </object>



   </extension>



   



   <extension id="com.ni.eseries.vcenterWebClientui.GettingStartedView">



      <extendedPoint>com.ni.eseries.vcenterWebClientui.gettingStartedViews</extendedPoint>



     <object>



         <name>Tester</name>



         <icon>#{netappIcon-32x32}</icon>



         <componentClass className="com.vmware.vsphere.client.htmlbridge.HtmlView">



            <object>



               <root>



                  <url>/vsphere-client/vcenterWebClient-ui/resources/mainView_en_US.html</url>



               </root>



            </object>



         </componentClass>



      </object>



   </extension>



Please let me know what is wrong here. Also I am begginer to vsphere webclient so, please excuse me for anything that doesn't make any sense.



Thanks,



-Phani


Reply
0 Kudos
3 Replies
nishtek
Contributor
Contributor

hi phanimadala,

i have a similar kind of query, have you been able to found any solution to the same. i would be happy if you can share with me the solution.

if not, laurentsd  can you please help us here.

thanks

Reply
0 Kudos
vaibhav87
Enthusiast
Enthusiast


Hi..


  Refer vCenter Orchestrator plugin.xml, here you will find all the answers for your query.


  You need to define custom hostPoints to show summary and getting started view.


 


 

Reply
0 Kudos
nishtek
Contributor
Contributor


hi @vaibhav87 ,


thanks for your reply. looks like i was already on the right track. i followed plugin.xml from vCO. But the problem i am encountering is that in the main vco application there is a reference to mainview class which i guess is the part of flex code. Now as i am trying to develop a html plugin , can you guide me on how to implement that part in html plugin.

Reply
0 Kudos