How to prevent Info messages from disappearing after a few seconds in Service Portal ?

Mihir Mohanta
Kilo Sage

After submitting a request in Service Portal one info message is displayed at the top .That message is disappearing after a few seconds.

How to present disappearing of this message.

find_real_file.png

I have tried the solutuin provided by the below thread but is still not working.

Service Portal (Helsinki): How to prevent confirmation messages from disappearing after a few second...

4 REPLIES 4

ananthagowraram
Mega Expert

Hi Mihir,



Try adding timeout function by copying "SC Catalog Item" widget from sc_cat_item page.



1) add timeout in main function like below


function ($scope, $http, spUtil, nowAttachmentHandler, $rootScope, $sanitize, $window, $sce, i18n, $timeout, $log, spAriaUtil,$timeout) {



2) Add below set of line in client script(at the end)


$timeout(function(){  


                   


            },3000);



Regards


Anantha Gowraram


Thanks Anantha,


Added $timeout as mentioned by you on this widget. But still info message is disappearing after few secs.


Any idea where it is defined to disappear info message in Service Portal after some time ?


Sarah15
Tera Expert

Service Catalog Propertiesfind_real_file.png