I have a custom object with action menus defined containing edit and delete action items. The issue I have is that my object specific menu items appear in both the drop down actions menu and also the toolbar items. We would like to have only the edit action to appear in the toolbar and both action items in the action menu.
I have tried some different ways to have only the edit action appear in the tool bar and both appear in the action menu, but so far I haven't come up with how to do it. Is it possible to do this and, if so, how can it be done.
<extension id="com.company.vcenterWebClientui.myObject.objectActionSet">
<extendedPoint>vise.actions.sets</extendedPoint>
<object>
<actions>
<com.vmware.actionsfw.ActionSpec>
<uid>com.company.vcenterWebClientui.myObject.editMyObject</uid>
<label>#{myObject.editAction}</label>
<icon>#</icon>
<delegate>
<className>com.vmware.vsphere.client.htmlbridge.HtmlActionDelegate</className>
<object><root>
<actionUrl>/vsphere-client/vcenterWebClient-ui/resources/editMyObject.html</actionUrl>
<dialogTitle>#{myObject.editAction}</dialogTitle>
<dialogSize>320,220</dialogSize>
</root></object>
</delegate>
<acceptsMultipleTargets>false</acceptsMultipleTargets>
</com.vmware.actionsfw.ActionSpec>
<com.vmware.actionsfw.ActionSpec>
<uid>com.company.vcenterWebClientui.myObject.deleteMyObject</uid>
<label>#{myObject.deleteAction}</label>
<icon>#</icon>