Hello,
I am implementing a feature on vSphere client 6.7.which requires me to open a modal dialog which takes an input as html page and displays it. I use a function available in WEB_PLATFORM called WEB_PLATFORM.openModalDialog(). It works perfectly fine. When the user closes the window ,I want a callback function in the main window to be called. How to go about doing it? I also want to send few parameters to the modal dialog while opening it. How do I achieve it. ? I referred the vSphere client sdk documentation for 6.7 and found it can be done using latest js api available. But was not able to successfully implement it .I tried modal.open() but the browser was unable to recognize it and gave null reference.Where can I find the sample code or way to implement?