Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

Home shortcut to modified Chassis app displays, but doesn't open targetViewUid

$
0
0



I'm trying to create a home shortcut the opens up the Home view for my list of extended object, but nothing is not working when I click the shortcut.


I modified the Chassis app in the HTML samples for myapp, and now I want a shortcut to take me to the view that lists all myapp objects.  I can get the shortcut title/icon to appear in the inventories category, but when I click on it, nothing happens.  I'm assuming the targetViewUid is not correctly referencing the view.  I added the following to my plugin.xml:

        <!-- myApp home shortcut view -->

        <extension id = "com.mycompany.myapp.homeShortcut">

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

           <object>

              <name>myApp</name>

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

              <icon>#</icon>

              <targetViewUid>com.mycompny.myapp.list</targetViewUid>

           </object>

        </extension>



Note, my namespace is com.mycompany.myapp.  I've tried various options for the targetViewUid, but none work :


- com.mycompny.myapp.list  <-- listViewId under templateInstance for lists of object


- com.mycompny.myappCategory <- extension id that is linked to parent vsphere.core.navigator.virtualInfrastructure


Ideas?


Viewing all articles
Browse latest Browse all 2218

Trending Articles



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