- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2017 01:57 PM
Is there a way to ALWAYS show Requests on the portal so even if someone has nothing open they can still get to the "View All Open/Closed Requests and Incidents"?
I've looked in the Portal and I've looked in the Service Portal Menus in the backend of ServiceNow, but I don't see where I can enable this like on a Simple List. I may need to edit the My Request widget (which I've cloned to My Open Request) in order to make it always show, but I am not sure how to do this.
I essentially want them to always be able to get to this page by clicking "Requests" at the top and clicking "View all Open/Closed Request and Incidents" even if they have nothing currently open.
Please mark this response as correct and/or helpful if it assisted you with your question.
Steven
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2017 12:04 PM
For anyone else with this issue, I figured it out.
- Go to Service Portal -> Menus and click on the "Header Menu" that has the title of "SP Header Menu"
- Scroll down to the bottom on the next screen and click on the "Angular ng-templates" tab and click on "menuTemplate"
- You need to delete the 2 highlighted bits below in order to always show Requests/Approvals:
Easy...just had to find it.
Please mark this response as correct and/or helpful if it assisted you with your question.
Steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2018 12:13 PM
I am trying to get the My Requests button to always show. I have removed the .count > 0 as indicated in the accepted solution but it is not working. I have also doesn't work in my personal dev instance. All of my instances are on Jakarta. Any ideas? Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2018 05:55 AM
(I know I'm six months late on this, but I just stumbled across this very issue.)
In addition to removing the .count>0 text from the menuTemplate temple, I had to do the following:
In the 'Header Menu' widget (well, the cloned version I created so I can edit it) I modified the client controller script by commenting out the following line (around line 41):
// if (item.items || (item.scriptedItems && item.scriptedItems.count != 0))
With those three modifications (counting the two lines from the menuTemplate and this one line from the widget itself) I was able to ensure that the drop-down menu appeared for 0 or more items.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2021 11:40 AM
Hi,
The simplest way to do this is to query for all the records i.e. active and inactive .
Looking at the script you will find code -> gr.addActiveQuery();
Commenting the line will get you all active and inactive records, which will make the My Requests Tab always visible