Hi,
Can someone tell me how we could pass custom data for openModalDialog(title, url, width, height, objectId)?
As I need to maintain my plugin compatible with vCenter 6.5U1 GA.
I could not use the new set of API's.
Thanks,
Kumar
Hi Kumar,
It is not possible to pass custom data using the openModalDialog() API.
However, since you are providing a url for your view, you can use it to pass custom data.
Have in mind that this approach is not secure and thus not recommended. This is why we have implemented such functionality in the new set of APIs.
Best Regards,
Denis
Hi Kumar,
It is not possible to pass custom data using the openModalDialog() API.
However, since you are providing a url for your view, you can use it to pass custom data.
Have in mind that this approach is not secure and thus not recommended. This is why we have implemented such functionality in the new set of APIs.
Best Regards,
Denis
With the release of the vSphere Client SDK in vSphere 6.7, the new call (with custom data available) is described here:
https://code.vmware.com/doc/preview?id=6612#/doc/GUID-C15C1A31-7E1E-4C96-85A8-7CF6E66398E7.html
