Creating a New Widget Library

Document created by Chris Sommerstad Employee on Jul 21, 2017
Version 1Show Document
  • View in full screen mode

In addition to extending custom widgets by editing the widget code, new widget libraries can be written and then included in SOASTA CloudTest.

A primary reason one might implement a custom widget library would be to share common code between two or more widgets. You can view a complete Custom Widget code example here.


  1. Navigate to Central > Dashboards. Right-click in the Dashboards list and then choose Create a New Widget Library.

The Widget Library Editor appears.

    1. Enter a name, description (optional), define a folder (optional) for the SOASTA CloudTest folder for the project, and write or copy and paste code into the editor.

Creating a project folder is a good idea since it's often more convenient to open from Central list > Library item than from the Dashboard workflow. Typically, you'll create your custom library and then use the Widget Editor to deploy code in the context of a given widget.

  1. Enter the widget code using the example code above as a guideline
  2. Save the new widget library before exiting.