Table of Contents

Customizing notification settings user interface in Pega Platform

Notification definitions that you create can send notifications to users through various channels. Users can set their preferences by using the default notifications settings user interface in the Case Manager or Case Worker portal. You can customize the notifications settings user interface to change its look and feel and to limit the number of options available to users.

Customize the notification settings user interface

You can customize the Notification Settings control center. The following table lists the rules that can be overridden to customize the user interface.

UI element

Rule to be overridden

Class

Sample use case

Default notification settings user interface

pyUserNotificationPreferences

@baseclass

By default, the notification settings are displayed in a dialog box. You can customize the layout and appearance of this dialog box or include this dialog box in your portal by overriding this rule.

General notifications layout

pyGenericNotificationPreferences

Rule-Obj-Class

By default, all the notification definitions under @baseclass are displayed as a list in this layout. You can customize the color and layout of this area by overriding this rule.
Case type notifications layout pyUserNotificationPrefsAtClassLevel Rule-Obj-Class By default, all the notification definitions under a case type are displayed as a list in this layout. You can customize the color and layout of this area by overriding this rule.

Default channel display option

pyDisplayChannelPreference

Data-Notification-Preference

By default, preferences are displayed as check boxes. You can change this control, for example, to a slider, by overriding this rule.
Default channel name pyDisplayChannelHeader Data-Notification-Preference By default, channel names are displayed as formatted text. You can customize this text by overriding this rule.
Though UI customization is possible, you cannot customize or update or delete a specific notification using UI or API.

Customize the default web gadget

A web gadget that you can customize displays notifications to the user in the portal.

UI element

Rule to be overridden

Class

Notification gadget and icons

pyDesktopNotificationGadget

@baseclass

Notifications center in the portal

pyDisplayNotificationGadgetDetails

PegaGadget-Notifications

Notification display in the notifications center pyshowNotificationDefault Work-

Customize email notifications

When users choose daily or weekly email notifications, a digest of notifications, which uses the default email template, is sent. You can customize this template for daily and weekly digest emails by overriding the pyDailyEmailDigest and pyWeeklyEmailDigest correspondence in the @baseclass class.

Suggest Edit

60% found this useful


Related Content

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.