Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 197835

Re: Navigate to Home page.

$
0
0

What about the inverse of this.  I'm attempting to navigate from a home shortcut to an Object workspace sub-tab.

 

According to documentation and assuming my extension id is registered as com.myApp.mySolution.subTab:

 

<extension id="com.myApp.mySoultion.subTab">
      <extendedPoint>vsphere.core.vm.manageViews</extendedPoint>
      <object>
      <name>myApp</name>
         <componentClass className="com.myApp.mySolution.views.ManageView" />
      </object>
   </extension>

 

I then make a home shortcut linking it to the above extension:

 

<extension id="com.myApp.mySolution.manage.Shortcut">
      <extendedPoint>vise.home.shortcuts</extendedPoint>
      <object>
         <name>MyApp</name>
         <categoryUid>vsphere.core.controlcenter.inventoriesCategory</categoryUid>
         <icon>#{shortcut.icon}</icon>
         <targetViewUid>com.myApp.mySoultion.subTab</targetViewUid>
      </object>
   </extension>

 

The Shortcut appears but when I click on it I'm getting a blank(gray) screen in the Main Workspace.  It seems to be navigating to an empty view but I can reliably reach the view by going to it through the Object Navigator.  I've also attempted a workaround by creating a global view with a view/mediator that makes a NavigationRequest to the extension id, but that gives the same result.  Just to test I changed the <targetViewUid> to vsphere.core.host.gettingStarted and again got the same results.


Viewing all articles
Browse latest Browse all 197835

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>