vSphere

 View Only
  • 1.  Embedding remote content in web client plugin

    Posted Oct 11, 2017 03:31 AM

    I am working on a plugin to complement our service appliance which also has a https web interface. Are there any guidelines or recommended methods regarding embedding pages from the service appliance?

    I understand there are plans to deliver an https proxy. Will making use of that ultimately be the answer in the future?



  • 2.  RE: Embedding remote content in web client plugin

    Broadcom Employee
    Posted Oct 11, 2017 02:41 PM

    Can you describe your use case a little more?  This forum is for the vSphere Client SDK which allows to add plugins to vSphere Client.

    Thanks.



  • 3.  RE: Embedding remote content in web client plugin

    Posted Oct 11, 2017 03:15 PM

    I am working on an HTML5 vSphere plugin that interfaces with our vSphere service appliance which has a REST interface and a WEB UI for standalone use.

    The plugin dislays its inventory through vsphere.core.inventorylist.objectCollectionTemplate and also has actions to create, modify, delete, offline etc.

    The create action has quite a few steps and is already implemented in our appliance's web ui. Rather than port or re-implement this UI and logic in the plugin, is it permitted to serve the page from the appliance and embed it in the action modal? I have prototyped this using an IFRAME and it works but was unsure whether this was acceptable. Do you have any recommendations for the same?



  • 4.  RE: Embedding remote content in web client plugin

    Broadcom Employee
    Posted Oct 11, 2017 06:41 PM

    Yes, there is no SDK restriction as far as the source of the HTML content in your plugin's iFrame if you can handle the browser security constraints yourself. We're looking at making that easier since it's becoming a more important use case but I don't have anything specific at this time.