How to prevent Info messages from disappearing after a few seconds in Service Portal ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2017 02:49 AM
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.
I have tried the solutuin provided by the below thread but is still not working.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2017 03:17 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2017 03:35 AM
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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2017 06:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2018 07:45 AM