Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DTPDEVEL and version 5.3.3

Place your JSON widget definition file and any dependent data files into the appropriate directory to deploy your widget. DTP checks two locations for custom widgets:

Scroll Table Layout
widths40%,60%

JavaScript and JSP-based custom widgetsPlace your widget definition file into the [DTP_HOME]/grs/widget directory.
Reused Base widgets (requires DTP 5.2.x or later)

You can also point to existing widget data in your widget definition JSON file and deploy the JSON into the [DTP_HOME]/grs/plugins/widgets directory.

DTP ships with several widgets in the [DTP_HOME]/grs/plugins/widgets/builtin directory, but Parasoft strongly advises against modifying built-in widgets. You can copy an existing widget and use it as a guide or use one of the following examples to help you get started.

Example

The following widget definition file is for the Violations - Summary Trend widget. 

...