In this chapter: 

Custom

This widget requires a DTP Enterprise license.

Contact your Parasoft representative for additional information.

Custom widgets with the widgetCategory value set to custom will appear in the Custom widget category. Custom widgets can be created following the widget JSON schema (see Creating Custom Widgets) or downloaded from the connected marketplace (see Downloading and Installing Artifacts).

Custom Dashboard Settings

In the custom dashboard JSON file, add a customWidgetName object with the widget name as the value to define the widget ID.  See Custom Dashboard Templates for details.

Settings

Settings are defined in the .json metadata file for the custom widget.



Custom HTML

This widget requires a DTP Enterprise license.

Contact your Parasoft representative for additional information.

This custom widget type sllows you to create your own widget container and embed it as HTML into the dashboard.

Custom Dashboard Settings

In the custom dashboard JSON file, add a customHTML object with the widget name as the value to define the widget ID.  See Custom Dashboard Templates for details.

Settings

TitleEnter a new title to replace the default title that appears on the dashboard. A widget title is required.
Width / HeightSee About the Dashboard Grid.
HTML

CSS, JavaScript, and some HTML tags are supported.

The Custom HTML widget stylesheet removes several default browser styles: a, abbr, acronym, address, b, big, blockquote, body, caption, cite, code, dd, del, dfn, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, html, i, iframe, img, ins, kbd, label, legend, li, object, ol, p, pre, q, samp, small, span, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, ul, var.

As a workaround, you can add a style attribute and define inline CSS, for example:

<b style="font-weight: bold;">bold text</b>


  • No labels