service portal notification container

theiser
Tera Expert

is there any documentation on how to use the notification container on the service portal? Is there a script? does it use a table?

<div id="uiNotificationContainer"><!-- ngRepeat: m in c.notifications track by $index --></div>

1 REPLY 1

halinatretsiako
Kilo Contributor

You can add messages into this container



from client script:


spUtil methods:


addErrorMessage


addInfoMessage


addTrivialMessage

Documentation: documentation/widget_client_script_apis.md at master · service-portal/documentation · GitHub


from server scripts:



Glide System methods:


gs.addInfoMessage,


gs,addErrorMessage,


gs.addMessage


Documentation: GlideSystem - ServiceNow Wiki