Custom Announcements Widget (Dismiss Functionality)

TFischer
Tera Expert

I am creating a custom widget that is a clone of the Announcements widget, but I also want to be able to utilize the dismiss functionality that the widget has in the banner form.

The banner is not part of the default Announcements widget, correct?

Is there some place the template/scripts live for the banner so I could leverage the dismissing functionality?

Thanks,

Tim

1 ACCEPTED SOLUTION

Ct111
Giga Sage

Hello, Banner comes up depending on "type of " you select in the instance options

that means the announcement widget by default has a setting of showing only the ones

which have widget selected in them(from backend)  , but if you want the banner one also

to appear on the widget then you need to select Banner type as well in the widget on

portal( in instance options.)

And regarding dismiss functionality it works based on the dismiss options you select once dismiss option is cheked.

 

NOTE : There is a script in place which handles all this dismiss concept (named : Clear dismissed announcements)

check that if you want to modify something in that

 

https://yourinstance.service-now.com/sys_script_client.do?sys_id=77d88774e753320075c2a117c2f6a938&sysparm_record_target=sys_script_client&sysparm_record_row=2&sysparm_record_rows=3&sysparm_record_list=table%3Dannouncement%5EORtableINannouncement%2Csys_metadata%5EORDERBYorder

 

Mark my ANSWER as CORRECT and HELPFUL if it helps

View solution in original post

1 REPLY 1

Ct111
Giga Sage

Hello, Banner comes up depending on "type of " you select in the instance options

that means the announcement widget by default has a setting of showing only the ones

which have widget selected in them(from backend)  , but if you want the banner one also

to appear on the widget then you need to select Banner type as well in the widget on

portal( in instance options.)

And regarding dismiss functionality it works based on the dismiss options you select once dismiss option is cheked.

 

NOTE : There is a script in place which handles all this dismiss concept (named : Clear dismissed announcements)

check that if you want to modify something in that

 

https://yourinstance.service-now.com/sys_script_client.do?sys_id=77d88774e753320075c2a117c2f6a938&sysparm_record_target=sys_script_client&sysparm_record_row=2&sysparm_record_rows=3&sysparm_record_list=table%3Dannouncement%5EORtableINannouncement%2Csys_metadata%5EORDERBYorder

 

Mark my ANSWER as CORRECT and HELPFUL if it helps