For detailed technical instructions refer to the documentation provided inside the SDK and updated samples.

Similar documents
For detailed technical instructions refer to the documentation provided inside the SDK and updated samples.

vsphere Client SDK Developer Guide 03 MAY 2018 VMware vsphere vsphere Client SDK

vsphere Client SDK Developer Guide 17 APR 2018 VMware vsphere 6.7 vsphere Client SDK 6.7

vsphere Web Client SDK Documentation VMware vsphere Web Client SDK VMware ESXi vcenter Server 6.5.1

vsphere Web Client Extensions Programming Guide vsphere 5.1

Developing Remote Plugins with the vsphere Client SDK. Update 1 16 October 2018 VMware vsphere 6.7 vsphere Client SDK 6.7

Developing and Deploying vsphere Solutions, vservices, and ESX Agents. 17 APR 2018 vsphere Web Services SDK 6.7 vcenter Server 6.7 VMware ESXi 6.

Developing and Deploying vsphere Solutions, vservices, and ESX Agents

By Stephen Cavell, Kerry Ellwanger, and Jack Livingston

About Xcode and iphone SDK

AppDev StudioTM 3.2 SAS. Migration Guide

Flint - Eclipse Based IDE User Manual

Developing and Deploying vsphere Solutions, vservices, and ESX Agents

Developing and Deploying vsphere Solutions, vservices, and ESX Agents

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

School Installation Guide ELLIS Academic 5.2.6

AppDefense Getting Started. VMware AppDefense

Session ID vsphere Client Plug-ins. Nimish Sheth Manas Kelshikar

EMC Documentum Composer

Browser Configuration Reference

CounterACT VMware vsphere Plugin

Using the vcenter Orchestrator Plug-In for vcloud Director 1.0

vsphere 6 Webcast Web Client

vsphere Update Manager Installation and Administration Guide 17 APR 2018 VMware vsphere 6.7 vsphere Update Manager 6.7

Liferay Digital Experience Platform. New Features Summary

Minds-on: Android. Session 1

Dell EMC ME4 Series vsphere Client Plug-in

WFCE - Build and deployment. WFCE - Deployment to Installed Polarion. WFCE - Execution from Workspace. WFCE - Configuration.

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

EMC Documentum Composer

TIBCO LiveView Web Getting Started Guide

Using the vrealize Orchestrator Operations Client. vrealize Orchestrator 7.5

ForeScout CounterACT. Plugin. Configuration Guide. Version 2.1

Android Apps. with Eclipse. Apress. Onur Cinar

STU SDK Redistribution

Getting started with Tabris.js Tutorial Ebook

Installing and Administering VMware vsphere Update Manager. Update 2 VMware vsphere 5.5 vsphere Update Manager 5.5

EMC Documentum Composer

TIBCO LiveView Web Getting Started Guide

Zenoss Resource Manager Upgrade Guide

PROCE55 Mobile: Web API App. Web API.

Five9 Plus Adapter for Agent Desktop Toolkit

Using the Horizon vrealize Orchestrator Plug-In

IBM. IBM WebSphere Application Server Migration Toolkit. WebSphere Application Server. Version 9.0 Release

i2b2 Workbench Developer s Guide: Eclipse Neon & i2b2 Source Code

Using the VMware vcenter Orchestrator Client. vrealize Orchestrator 5.5.1

vrealize Operations Management Pack for vrealize Hyperic Release Notes

Ocean Wizards and Developers Tools in Visual Studio

vsphere Upgrade Update 1 Modified on 4 OCT 2017 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5

Using the Horizon vcenter Orchestrator Plug-In. VMware Horizon 6 6.0

PowerActions v1.0. For use only by VMware and VMware Solution Providers Not a Customer Deliverable

Mobile Application Workbench. SAP Mobile Platform 3.0 SP02

UDS Enterprise Preparing Templates Windows 7 + RDP + UDS Actor

News in RSA-RTE 10.2 updated for sprint Mattias Mohlin, May 2018

Introduction to Cisco UCS Central

Using the VMware vrealize Orchestrator Client

Sonatype CLM - IDE User Guide. Sonatype CLM - IDE User Guide

Lab 3: Using Worklight Server and Environment Optimization Lab Exercise

Using the vcenter Orchestrator Plug-In for vcloud Director 5.5. vrealize Orchestrator 5.5

CounterACT VMware vsphere Plugin

TogoDocClient Plug-ins development manual. TogoDocClient plug-ins development manual

Developing ASP.NET MVC 4 Web Applications

Course 20486B: Developing ASP.NET MVC 4 Web Applications

vcloud Director Tenant Portal Guide 04 OCT 2018 vcloud Director 9.5

What s New in VMware vsphere 5.1 VMware vcenter Server

EMS DESKTOP CLIENT Installation Guide

Installing and Configuring vcloud Connector

Getting Started with Cisco UCS Director Open Automation

ASP.NET MVC Training

Installing and Configuring VMware vrealize Orchestrator

20486: Developing ASP.NET MVC 4 Web Applications

AME Scripting Guide. Release 1.0

Composer User Guide. Version

The Definitive Guide to. NetBeans Platform 7. Heiko Bock. Apress*

vrealize Operations Manager Management Pack for vrealize Hyperic Release Notes

Degenio. MouliForms. Migration Oracle forms 6-10g

ArcGIS Viewer for Microsoft Silverlight An Introduction

IBM Forms Experience Builder

1.2. Name(s) and address of Document Author(s)/Supplier: Sahoo: 1.3. Date of This Document: 12 July 2008

Casper Suite Release Notes. Version 8.5

vsphere Upgrade Update 2 Modified on 4 OCT 2017 VMware vsphere 6.0 VMware ESXi 6.0 vcenter Server 6.0

International Research Journal of Engineering and Technology (IRJET) e-issn: Volume: 05 Issue: 05 May p-issn:

eclipse rich ajax platform (rap)

Solving Mobile App Development Challenges. Andrew Leggett & Abram Darnutzer CM First

Installation Guide - Mac

Installation Guide - Windows

COURSE 20486B: DEVELOPING ASP.NET MVC 4 WEB APPLICATIONS

ECM Extensions xcp 2.2 xcelerator Abstract

Table of Contents 1.1. Introduction. Overview of vsphere Integrated Containers 1.2

IBM Workplace Client Technology API Toolkit

Full Stack Web Developer

20486: Developing ASP.NET MVC 4 Web Applications (5 Days)

Clearspan Hosted Thin Receptionist R Release Notes APRIL 2015 RELEASE NOTES

Google chrome plugins update

Documentation for the new Self Admin

Composer Guide for JavaScript Development

Exercise 1. Bluemix and the Cloud Foundry command-line interface (CLI)

Force.com IDE Developer Guide

Android System Architecture. Android Application Fundamentals. Applications in Android. Apps in the Android OS. Program Model 8/31/2015

Issues Fixed in DC/OS

Transcription:

The vsphere HTML Client SDK Fling provides libraries, sample plug-ins, documentation and various SDK tools to help you develop and build user interface extensions which are compatible with both vsphere Client (HTML5) and vsphere Web Client. The HTML Client SDK Fling is based on the existing HTML Bridge APIs which allows already existing HTML Bridge plug-ins functionality to be fully supported in the new vsphere Client (HTML5). You can use the HTML Client SDK Fling to extend existing HTML Bridge plug-ins or build pure HTML5 plug-ins from scratch and test them in the vsphere Client (HTML5). You can successfully deploy existing or new HTML plug-ins on the vsphere HTML5 Client Fling if you have followed the forward compatibility instructions for developing HTML-based plug-ins. The HTML Client SDK Fling consists of the following components: Libraries for server and user interface development. Documentation about how to setup your development environment, build HTML plug-ins compatible with both the vsphere Web Client and the new HTML5-based vsphere Client, and troubleshooting information. Sample HTML plug-ins that work on both HTML5-based vsphere Client and the vsphere Web Client. Various SDK tools. The following features have been introduced to the HTML Client SDK Fling: HTML-Based Portlet Support on Summary View Starting with the first HTML Client SDK Fling release, plug-in developers can implement HTML-based portlets and display them within an existing Summary view for vsphere or custom object. HTML-Based Plugins Compatibility To ensure that your HTML-based plug-ins are compatible with the new HTML5-based vsphere Client (in addition to the already existing vsphere Web Client), always use relative URLs in your HTML and JS code and use the webcontextpath defined in web-platform.js file. For detailed technical instructions refer to the documentation provided inside the SDK and updated samples. Note: This is a Fling release and the official documentation is not completed. Please use the documentation provided inside the SDK and feel free to share your feedback.

RELEASE NOTES Use the latest version of Getting_Started_with_HTML_Client_SDK_Fling.pdf after you download a new Fling version. All new features are covered. HTML SDK Fling 11 [Aug 21, 2017] - Build 6311399 In an effort to facilitate the transition of existing vsphere Flex Client plug-ins to vsphere HTML Client plug-ins and ensure more stable ecosystem, we are working on new JavaScript APIs. Current Fling release contains the first set of new JavaScript APIs. They cover the following use cases which so far were not supported with the HTML Bridge APIs: Custom plugin data can be passed from the parent window to the modal iframe. Developers can pass data from a modal to its parent when the modal is about to be closed. Developers can specify multiple target ids when opening a dialog. Developers can specify the dialog title and X button as optional. The APIs are divided into namespaces for easier access, understanding and categorization and overcome the existing security concern that sensitive information was passed via URL parameter. The new JavaScript APIs are available only for the vsphere HTML Client. For more details refer to the complete documentation available from: \html-client-sdk\docs\new-javascript-api.html. Additional Notes Custom object sample available from \html-client-sdk\vsphere-ui\plugin-packages\custom-object-sample is updated to demonstrate the use of new JavaScript APIs. HTML SDK Fling 10 [July 21, 2017] - Build 6094542 A new bootstrapping mechanism of JavaScript APIs is implemented. The advantages of this new bootstrapping mechanism are: You no longer share a global object with other plugins and they cannot impact your plug-in s functionality. You no longer need to include the web-platform.js file in your plug-in package. Any bug fixes and improvements to existing JavaScript APIs introduced in the next release, will be available transparently through the same unique JavaScript object which you already instantiated in your code. The fixes and improvements will be available at the moment the user upgrades to the vsphere release where they are introduced

Fling documentation available from \vsphere-client-sdk\html-client-sdk\docs is updated with additional details on plug-in development and deployment. Closing a dialog with "X" box or ESC key no longer leads to errors in HTML Client. Plugin dialogs are not cut off when the screen is too small. Resource string values are displayed properly after the first login and resource keys are no longer shown. Deprecated features API getvcselectorinfo() is deprecated. When a plugin view needs to display data for a particular vcenter using vcenter selector, this can be achieved with a standard and simple programmatic way which is demonstrated in Globalview sample: \html-client-sdk\vsphere-ui\plugin-packages\globalview-sample. Extension point ${namespace}.gettingstartedviews is deprecated for vsphere HTML Client. This extension point is not relevant to the vsphere HTML Client interface and no longer recommended by HTML Client User experience team. Extension point vsphere.core.${objecttype}.list.columns is deprecated to address performance consideration and user experience difficulties. As an alternative, you can provide same information on Monitor view, Configure view or Summary portlet. Always consider providing data overview and a link to a custom view, supported by your plug-in, where more details can be shown. HTML SDK Fling 9 [Feb 20, 2017] - Build 5097204 OSGi Sandboxing deployment for HTML Client plug-ins is implemented on HTML Client side. OSGi Sandboxing aims to achieve HTML plug-in isolation by re-using Virgo server s scoping feature. The feature aims to be a transparent isolation mechanism that does not incur any additional work on existing HTML plugins assuming OSGi Best Practices were followed during plug-in development. HTML Client SDK Fling documentation available from \html-client-sdk\doc\getting_started_with_html_client_sdk_fling.pdf provides detailed overview of the feature and requirements for the HTML plug-in developers. The MANIFEST of samples were updated to be compatible with Flex Client 6.0 The top section of web-platform.js was updated in all samples because the previous version didn t work in IE 11. Be sure to use follow same format in your plugin: var WEB_PLATFORM = self.parent.web_platform; var ischromebrowser = (window.navigator.useragent.indexof("chrome/") >= 0); var isflexclient =!!self.parent.document.getelementbyid("container_app"); if (!WEB_PLATFORM (ischromebrowser && isflexclient)) { WEB_PLATFORM = self.parent.document.getelementbyid("container_app"); if (ischromebrowser) { WEB_PLATFORM = Object.create(WEB_PLATFORM);

} HTML SDK Fling 8 [Jan 30, 2017] - Build 4978469 New HTML sample called custom-object-sample is available from \html-client-sdk\samples. The sample demonstrates how you can use Clarity Design System ( https://vmware.github.io/clarity/ ) to achieve the same look and feel as the HTML-based vsphere Client. More details how to build and deploy the sample are available from the \html-client-sdk\doc\getting_started_with_html_client_sdk_fling.pdf. Instructions how to setup your development environment with IntelliJ IDEA are available from \html-client-sdk\docs\intellij-setup.html. OSGi bundles are deployed using the Virgo's ApplicationDeployer instead of the internal deployer using Virgo s pickup folder (known as HotDeployer). This change reduces bundle deployment latency incurred by the scan interval of the pickup folder, reduces boot time on startup thanks to eliminated I/O operations of copying artifacts to the pickup/ folder and frees /usr/lib/vmware-virgo/server/pickup folder from any responsibilities to the production plugin deployment. On development environment you can add pickup.deployer=true in the webclient.properties file so that you can use the /usr/lib/vmware-virgo/server/pickup folder for deployment. If a bundle is deployed in production mode using Virgo s ApplicationDeployer, it cannot be redeployed using the pickup. An important fix is required in web-platform.js file to support HTML plugins on Chrome version 55 and above. All samples have been updated. You should update your current version of web-platform.js the same way, i.e. replace the lines at the top: if (!WEB_PLATFORM) { WEB_PLATFORM = self.parent.document.getelementbyid("container_app")); with: if (!WEB_PLATFORM WEB_PLATFORM.name === "container_app") { WEB_PLATFORM = Object.create (self.parent.document.getelementbyid("container_app")); All.sh script files have the correct end of line character (EOL) and do not throw error ^M: bad interpreter: No such file or directory. WEB_PLATFORM.getString() now works when many parameters are passed. Additional Notes "Quick setup steps" section from \html-client-sdk\docs\getting_started_with_html_client_sdk_fling.pdf to has been improved with the exact sequence of steps you need to take for a setup. All new features are covered in details in Getting_Started_with_HTML_Client_SDK_Fling.pdf.

HTML SDK Fling 7 [Nov 9, 2016] - Build 4625171 vcenter registration scripts available from /tools directory are improved to simplify the process of registering your development machine to vcenter Server. New scripts server-registration.bat and server-registration.sh connect to the vcenter server and copy the generated files which previously you had to move manually. API setglobalrefreshhandler now supports multiple portlets in the HTML Client. Note that it requires an extra parameter (the view document) which is explained in the Javascript API doc. Samples are updated to use setglobalrefreshhandler in a consistent manner so that views are refreshed when a user clicks on the toolbar s Refresh button. When an action controller returns a successful result the client now broadcasts a global refresh event to give the plug-in a chance to update its view (as long as it is using the setglobalrefreshhandler API). For instance the Summary view in ChassisA or Chassis B samples is updated correctly after you edit a chassis. All new features are covered in details in Getting_Started_with_HTML_Client_SDK_Fling.pdf. HTML SDK Fling 6 [Oct 19, 2016] - Build 4507438 If you want to make an HTML plug-in deployable only on the HTML-based vsphere client a dependency on pluginpackage id="com.vmware.vsphere.client.html" version="6.5.0" should be added in your plugin.xml. HTML plug-in developers can implement context independent global actions in the toolbar list. Such actions can be used for creating new custom object. For example have a look at the Chassis A sample where Add Chassis button is always present and enabled on the toolbar. New APIs WEB_PLATFORM.getClientType() and WEB_PLATFORM.getClientVersion() return the client type and version. For example client type can be html or flex and versions correspond to the official release versions e.g 6.0. Global View size is adjusted correctly and does not spill out. Saving settings in Global App sample under Windows is fixed (method getglobalviewdatafolder() is unified throughout all the OS). Additional Notes You no longer need to download the entire Adobe Flex SDK to build string resources like swf files. Flex compiler is available from \html-client-sdk\resources\flex_sdk_4.6.0.23201_vmw folder. We have done plenty of updates to the documentation! Have a look at the /docs directory.

All new features are covered in details in Getting_Started_with_HTML_Client_SDK_Fling.pdf. HTML SDK Fling 5 [Sep 29, 2016] - Build 4450180 Sub-menus of vsphere objects menus is now supported (VM, Host, etc.). The same extension points vsphere.core.menus.solutionmenu and vise.actions.sets are used, so you can verify that your plugin submenus working in the Flex Client are working the same way in the HTML Client. The vsphere-wssdk sample was updated with different VM sub-menu, including actions enabled/disabled based on the VM s powerstate. See DataProviderImpl.java for details. Internationalization of plug-in s view and menus is supported correctly. Follow the section on Internationalization in docs/javascript-api.html#i18n. WEB_PLATFORM.getLocale() is implemented, i.e. the locale parameter is passed correctly to each plugin view. WEB_PLATFORM.sendModelChangeEvent() is implemented. The Administration category and VM Configure tab can now be extended so plug-ins can add their own views at these locations. Fixed the navigation to a custom object view after clicking on that object in a list view. Fixed the MANIFEST and plugin-package.xml of plugins generated with the scripts in html-client-sdk/tools/plugin generation scripts/ so that they can be deployed correctly. Fixed a nullpointerexception in vsphere-wssdk sample s DataProviderImpl.java (when a host didn t have any VM) Additional Notes Adding dataservice.vmodl.version=public in webclient.properties is no longer necessary when running with vcenter Server 6.5 In Eclipse, the vsphere SDK Tools menu was removed because it didn t work and it was already replaced by the command line script under html-client-sdk/tools/plugin generation scripts/ All new features are covered in details in Getting_Started_with_HTML_Client_SDK_Fling.pdf.

HTML SDK Fling 4 [Sep 13, 2016] - Build 4379154 vcenter Plugin Registration tool available from html-client-sdk\tools directory is extended with update functionality. You can use this option to update the registration of already existing plug-in. Support for external icons was added, i.e icons displayed outside of your plug-in s views: Home view shortcuts icons, Menu icons, Objects icons. Note that Dialog icons are still missing. When upgrading from 5.5.x or 6.0.2 you need to define a separate plugin-icons.css. Support for object menu extensions was added, i.e. a plugin can extend the VM menu, Host menu, etc. Wssdk sample is extended to demonstrate how you can display information for more than one object on host s summary page. All new features are covered in details in Getting_Started_with_HTML_Client_SDK_Fling.pdf. New System Requirements Java SDK 1.8 is required for your local Virgo runtime to work with the vcenter 6.5 RC release. The Java target version is increased to 1.7 for Java services build scripts. This preserves the compatibility of your plug-in with vsphere Web Client 6.0. sendnavigationrequest API is fixed to update the left-hand side navigator. It is possible to add views under VM > Configure, i.e. extend vsphere.core.vm.manageviews vcenter Server registration failure is fixed and the previous issue: An error occurred while sending an authentication request to the vcenter Single Sign-On server - An error occurred when processing the metadata during vcenter Single Sign-On setup - Keystore to be used for remote connections is null.. no longer appears.

HTML SDK Fling 3 [Aug 30, 2016] - Build 4321818 If you want to register a plug-in as a vcenter server extension, you can use the newly introduced tool available from "html-client-sdk\tools\vcenter Plugin Registration" directory. In addition to prebuilt extension-registration.sh for Mac OS and extension-registration.bat for Windows OS scripts, this directory contains a plug-in registration source code that can be customized to fit your own business purpose. OSGi usage validation is present in this version of HTML Client which helps you identify if your plug-in follows important rules outlined in the "OSGi-Specific Recommendations" section of the Best practices guide. New System Requirements Apache Ant version 1.8.0 or above. Ant build scripts of SDK samples report SUCCESS even when the compilation fails. Persistent XSS in VM name when navigating to a VM is fixed. Fixed the loading of string resources for plugins deployed as vcenter extensions. HTML SDK Fling 2 [Aug 22, 2016] - Build 4287567 If you want to deploy a plug-in on the HTML Client you no longer need to update the compatibility-matrix.xml used in HTML Client SDK Fling 1. Starting from HTML Client SDK Fling 2, in order to deploy a plug-in on the new HTML-based client you must add the attribute type= html in your plugin-package.xml file. You can find exact technical example in the existing samples present in html-client-sdk\samples directory. This type shall be used only for HTML plug-ins. Custom object lists now show the object names with a link to the view of the selected object. There are new scripts to create template projects from the command line. Scripts are available from html-client-sdk\tools\plugin generation scripts and called create-html-plugin.sh for Mac OS and create-html-plugin.bat for Windows OS. There are new scripts to create the plugin package folder. The scripts are called build-plugin-package.sh for Mac OS and build-plugin-package.bat for Windows and appear once pluginname-ui and pluginname-service are created. Doc changes Fling documentation Getting_Started_with_HTML_Client_SDK_Fling.pdf includes a new section listing the location of Virgo logs.

Frequently Asked Questions document available from html-client-sdk\docs\ FAQ.html is extended with new questions and corresponding answers. Missing extension vsphere.core.navigator.solutionscategory is now added. Composed exception in vsphere-wssdk summary sample, when portlet viewed the first time, is fixed.