Control time Error message stays on the screen

Alon Grod
Tera Expert

Hi,

Im using on Change client script and if some condition is met I use g_form.addErrorMessage in order to show some message. How can I make the message stays longer on the screen? 

2 REPLIES 2

Shivalika
Mega Sage

Hello @Alon Grod 

 

There would be "timeout" related property on "sys_properties" table - not remembering the exact name. But I am sure for the portal this is - 

glide.service-portal.notification_timeout.seconds

 

May be try with "glide.norification_timeout.seconds" - if it exists fine increase the value, if not create it and try. 

 

Else you can open a servicenow case - maybe they will point to the exact property for platform. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

Robert H
Mega Sage

Hello @Alon Grod ,

 

Please review the last part of this article, which also explains how you can make the message show permanently by setting the timeout to 0.

 

Regards,

Robert