- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2017 09:39 PM
Hi All,
I am trying to understand how the out of box service portal is able to handle the my approval count.
When we approve any request it automatically reduce the approval count on the header menu , i have check the approvals widget but no much information on how to reduce the number on the header.
Any help is appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2017 11:47 PM
If you need a count to be updated in your own widget, you need to apply "record watchers" to update your data model.
See this guide Real Time To Do App using Service Portal & Record Watchers - ServicePortal.io - Service Portal, CMS,...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2017 11:14 PM
Hi
Its not a widget - its defined in the menu.
Go to Service Portal -> Menus -> Open the Header Menu for "Service Portal for Enterprise Service Management"
In here the Menu for "Approvals" is defined as a scriptet list. This scripts add the appropriate record watcher and returns the count
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2017 06:12 PM
Hi Lars,
Thanks but i was looking for some other solution .
scenario :
I have a page which has a common widget which serves as header and shows the approval count just like in the SP header Menu. But when i click on the Approval count link it goes to a different page and shows the approval records where we can reject or approve and that page includes the common header .
When i approve the record the count on the header widget should be also get updated . I was looking for this solution.
IF you see the out of box when we click on Approvals (view all my approvals) it goes to to approvals page which shows all the approval record and when we approve or reject the count on the header gets approved.
I am trying to find how the count is updated in this scenario.
nathanfirth fschuster you help or give any suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2017 11:47 PM
If you need a count to be updated in your own widget, you need to apply "record watchers" to update your data model.
See this guide Real Time To Do App using Service Portal & Record Watchers - ServicePortal.io - Service Portal, CMS,...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2017 11:15 AM
Thanks Lars perfect it worked.