kumar_t
Enthusiast
Enthusiast

How to hide the actions instead of disable using Dynamic Extensions in vSphere Client

Hi,

Our plugin is build on SDK 7.0U3 and is the minimum supported vSphere client version as well. 

We have some actions on vsphere entity(say datastore entity), we would like to show/Hide actions depending on the various factors.

As per the vSphere Client SDK guide, we were able to enable/disable the actions. But we want to hide the actions instead of Disable like the local plugin SDK does.

Is there a way to achieve it?

Thanks,

Kumar

 

Tags (1)
Reply
0 Kudos
Denis_Chorbadzh
VMware Employee
VMware Employee

Hi Kumar,

 

For 8.0 release, you can set the property "relevant" to "false" for every menu item that you don't want to be displayed at all. Setting the "visible" property just enables/disable the action.

For 7.0 releases, the items will always be displayed and will be enabled/disabled based on the "visible" property.

 

Best Regards,

Denis

View solution in original post

kumar_t
Enthusiast
Enthusiast

Reply
0 Kudos
Denis_Chorbadzh
VMware Employee
VMware Employee

Thank you for noticing the missing part, Kumar! Will update it.

Reply
0 Kudos