How to disappear info message after 5 seconds on portal page?

Pooja M Devkar
Tera Contributor

There is one portal page. After saving or approving the case record, it is showing few info messages. I want to make those messages disappear after 5 seconds.

Is there any way? Please let me know.

 

PoojaMDevkar_0-1722434298553.png

 

 

Thanks in advance,

Pooja Devkar

5 REPLIES 5

Satishkumar B
Giga Sage
Giga Sage

HI @Pooja M Devkar 

In System properties table - glide.service-portal.notification_timeout.seconds
check the below article:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0713722

 

…………………………………………........................................................................................
Mark it helpful 👍and Accept Solution !! If this helps you to understand.

…………………………………………........................................................................................

Not working. Tried this before.

Sumanth16
Kilo Patron

Hi @Pooja M Devkar ,

 

Add below line in script:

window.setTimeout(hideFieldMessages, 5000);

 

Plz mark my solution as Accept, If you find it helpful.

 

 

Thanks & Regards,

Sumanth meda

In which script? Client script or server side script of widget? Please let me know.