Home > Blogs > VMware Support Insider


Getting Started with vSphere Web Client Programming – User Interface and Data Services

This video is the third in our 3-part video series entitled “Getting Started with vSphere Web Client Programming” which will provide some insights as well as some deep-dive training and step-by-step demonstrations and examples of how you can setup a platform for developing your own solutions for the vSphere Web Client.

This video explains the fundamentals of creating Data View UI extensions, using Mediator Classes with View Classes, and using the Data Access Manager (DAM) API to query the vSphere Inventory Service . It does this by examining the code in the views-properties-ui samples from the VWC (vSphere Web Client) SDK (Software Development Kit) and:

  • Showing the syntax for creating Data View UI extensions in the plugin.xml file
  • Viewing and explaining the relationship of a View Class to its corresponding Mediator Class for an extension, including how View Classes are injected into Mediator Classes
  • Examining and explaining how the VWC Framework injects the object in context in the Object Navigator into Mediator classes
  • Explaining the event-driven nature of the DAM API, including viewing how the sample code creates and responds to DAM events
  • Examining and explaining the use of Data Model Classes and the main models for querying the vSphere Inventory Services via DAM APIs

After following along with, this video, learners should be able to:

  • Create their own Data View UI Extensions in the plugin.xml file
  • Create their own simple View and Mediator classes for their UI Extensions
  • Use DAM APIs to query the vSphere Inventory Services:
  1. For a single property on the object in context
  2. For multiple properties on the object in context with and without property constraints
  3. For multiple properties on the object in context, and on properties related to the object in context using relation constraints
  • Build, load, and test their extensions

Note: As these three videos are aimed at providing a full class-room like training experience of the subject matter, the videos are actually quite long in duration with each video ranging between 45 minutes to 1 hour.

Note: For best viewing results, ensure that the 720p setting is selected and view in full screen mode