Find Out How

Print Friendly Version

Create a New Widget Library

    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.

    Note: Editing a widget using the SOASTA CloudTest Widget API is described in Creating a New Custom Widget.

    See Widget Library API Reference at the end of the prior topic. You can also view the HelloWorld() template.


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

Dashboards list

    The Widget Library Editor appears.

    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.