Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Portal notification content configuration

pallavigaik
Tera Contributor

Hi folks,

 

I have configured a content for Portal notification in Portal notification content configuration (sn_ex_sp_notifs_portal_notification_content_config). When I'm passing details in messageContentTemplate, it is populating correctly in notification. But when I'm adding details in summaryTemplate it is not getting populated in notification.


return {
        actor: '',
        messageContentTemplate: 'Hi, this is sample content',
        messageContentParams: [],
        aggregatedContentTemplate: '',
        aggregatedContentParams: [],
        actionUrl: ''
    };

 

In notification I want to implement following things:

1. Add summary text which is clickable

2. After clicking on summary text, more details should get expanded

3. Show read status of notification like Status: read/unread

4. Formatting the Content of notification. like new lines. Adding html tags in messageContentTemplate is not working.

 

Please help me to achieve these functionalities. Would really appreciate your time.

0 REPLIES 0