- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2020 03:33 AM
Hi everyone,
I have a menu item which is a scripted list. I would want the menu item to always appear in the header menu, even if the record count is zero (t.count) and the link "View my items" is available. It links to lists that also contains closed tickets, and I want the users always to able to view the lists. Does anyone have an idea?
Thanks in advance!
Paul Hoogenboom
Solved! Go to Solution.
- Labels:
-
Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2020 07:48 AM
Hi Paul,
Digging a bit deeper into this then, you'll need to update the angular template that populates the menu. The header menu widget is selected on the theme record that is selected on the portal record. This community entry takes a good look at how to update that template. While this question is helping someone add a badge with a count, you can see where to update so that you can force the scripted item to show even if count is 0.
Angular templates are in the 'sp_ng_template' table. There isn't a module for this in the application navigator OOB. The template name is 'menuTemplate'. If you're going to modify this, I would recommend making a copy of it and also cloning the header widget, then updating the copy of the header widget with reference to the new angular template in the HTML. Then associate the new header widget with your portal theme.
Let me know how it goes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2022 01:49 AM
hi Stephen Sturdevant,
Can please tell me how to add a badge with a count in "Employee Center Scope".