Creating a New Widget Library

by Community Manager on 07-06-2011 12:41 PM - last edited on 10-13-2011 02:56 PM

 

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.


  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.