Hi all,
I am trying to achieve nested sub menu via plugin.xml , I have achieved the child menu but unable to get child of child sub menu .
I have share the code snippet and view .
kindly give needful suggestion.
Thanks in advance.
Hi skodiya,
I think this should work.
<extension id="__packageName__.chassis.menu">
<extendedPoint>vsphere.core.menus.solutionMenus</extendedPoint>
<object>
<label>dummy1</label>
<children>
<Array>
<com.vmware.actionsfw.ActionMenuItemSpec>
<type>separator</type>
</com.vmware.actionsfw.ActionMenuItemSpec>
<com.vmware.actionsfw.ActionMenuItemSpec>
<uid>sub-menu</uid>
<label>other-actions</label>
<children>
<Array>
<com.vmware.actionsfw.ActionMenuItemSpec>
<type>action</type>
<uid>__packageName__.otherAction</uid>
</com.vmware.actionsfw.ActionMenuItemSpec>
</Array>
</children>
</com.vmware.actionsfw.ActionMenuItemSpec>
<com.vmware.actionsfw.ActionMenuItemSpec>
<type>action</type>
<uid>com.vmware.samples.actionextensions.headlessAction3</uid>
</com.vmware.actionsfw.ActionMenuItemSpec>
</Array>
</children>
</object>
<metadata>
<objectType>sample:Chassis</objectType>
</metadata>
</extension>
I guess you have rea uids for the __package__Name__.otherAction
Cheers,
Martin
hi @stoevm I have try the code which is suggested by you ,Still it is working same as our previous code no change in the view.
stoevm our requirement is to show menu inside a menu (nested submenu) not just submenu.
can you provide snippet for nested submenu?
we are using the same snippet on vSphere 6.5U2
but it is not working.
Could you confirm on vSphere 6.5U2 client once?
Could you share share your full plugin.xml file once?
Hi,
This is a known issue on vSphere 6.5U2 and is not working, this problem was fixed in 6.7U1.
Sorry for the misunderstanding.
Martin