Custom widgets
Theme Cosmos introduces design patterns that help maximize productivity. For example, the utility panel, which contains widgets that provide quick access to case-relevant information, is one such pattern. Pega provides a number of out-of-the-box widgets, as well as the tools to create a custom widget in Dev Studio.
Widgets in the utilities panel
The utilities panel contains common widgets such as Case followers and Case attachments. A typical panel includes several widgets and the ability to add, edit, and review widget assets in a modal window. The collapsed panel contains a set of icons that correspond to each of the widgets.
For more information about out-of-the-box widgets, see Widgets in the utilities pane.
Best practices for custom widgets
When creating a custom widget, consider the following best practices:
- Use a widget if the information that you want to present to the user must be available at all times. If the information that you want to display needs in-depth review by the user, locating it in the case summary panel views is the best practice.
- Use an icon with the proper size and color, and check the appearance of the icon in collapsed mode.
- Consider setting a maximum width for your widget.
- Creating a custom widget
Help your users to quickly access additional information by defining a custom widget. Widgets work best in situations where the data they present needs to be accessed at all stages of the case, but does not require complex analysis.
Previous topic Creating design templates Next topic Creating a custom widget