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

Need help with "vsphere.core.menus.solutionMenus"

$
0
0

Hi,

 

I'm trying out the "vsphere.core.menus.solutionMenus" but I am not able to make it work. I'm not sure if I'm missing something. I'm very new to this.


By the way, I'm trying to hook it up with our own custom object. I tried it with Datastore and shows the menus but no luck with our custom object(ucp2k:Chassis).


<extension id="com.sample.actions.submenus">

    <extendedPoint>vsphere.core.menus.solutionMenus</extendedPoint>

    <object>

    <label>Chassis</label>

    <uid>allChassisActions</uid>

    <children>

    <Array>

    <com.vmware.actionsfw.ActionMenuItemSpec>

                     <type>action</type>

                     <uid>com.sample.actions.addAction</uid>

                     <label>Add</label>

                 </com.vmware.actionsfw.ActionMenuItemSpec>

                 <com.vmware.actionsfw.ActionMenuItemSpec>

                  <type>separator</type>

                 </com.vmware.actionsfw.ActionMenuItemSpec>

                 <com.vmware.actionsfw.ActionMenuItemSpec>

                     <type>action</type>

                     <uid>com.sample.actions.deleteAction</uid>

                     <label>Delete</label>

                 </com.vmware.actionsfw.ActionMenuItemSpec>

    </Array>

    </children>

    </object>

    <metadata>

    <objectType>ucp2k:Chassis</objectType>

    </metadata>

    </extension>

 

submenu.png

 

 

Please shed some light.




Viewing all articles
Browse latest Browse all 2218

Trending Articles