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

Html SDV V6.7U1 - local plugin - using the htmlClientSdk for actions instead of WEB_PLATFORM

$
0
0

Hi I'm workfing on removing the references of WEB_PLATFORM from our plugin, and have come across 2 dificulties.

 

1) We have some generic action templates which we use, and load our classes depending on the actionUID.

So when the action dialog is started, we use:

WEB_PLATFORM.getActionUid() .

So I wanted to change it to the htmlClientSdk api, but there is no method for getting the ActionUid - or am I missing something?

 

2) When an action is defined in the plugin.xml and is started, I want to use the htmlSdk within the dialog, but when I try to retrieve it:

     var htmlSdk = window.frameElement.htmlClientSdk;

it is undefined...

Is there an other way I can retrieve it?

 

thanks for the Info

Cathy


Viewing all articles
Browse latest Browse all 2218

Trending Articles



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