Running the vSphere HTML SDK Sample
Last Updated December 16, 2024

Use this procedure to run the vSphere HTML SDK sample.
  1. Start or restart the application server from the command line
    On a MacOS system, run
    vsphere-ui/server/bin/startup.sh [-debug]
    in a shell window.
    The
    -debug
    option allows you to specify a debug port, if desired. The default, if no port is specified, is
    8000
    .
    On a Windows system, run
    vsphere-ui/server/bin/startup.bat -debug
    in a shell window.
  2. Check that there are no errors in the console or in the logs.
  3. Log in to your local HTML Client at https://localhost:9443/ui/.
  4. Click the vSphere HTML SDK Sample entry in the
    Policies and profiles
    section to explore the sample functionality.
If you need to modify the logging level, modify the file
html-client-sdk/vsphere-ui/server/conf/serviceability.xml
. The XML file contains instructions to modify the logging level.
To stop running samples in your local client, delete the sample folders from the
vsphere-ui/plugin-packages
directory and restart the server.
Do not delete other plugin packages. Do not delete the entire
plugin-packages
directory.