Service Portal - Always show Requests

Steven Parker
Giga Sage

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.

find_real_file.png

find_real_file.png

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.

find_real_file.png


Please mark this response as correct and/or helpful if it assisted you with your question.
Steven
1 ACCEPTED SOLUTION

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:


find_real_file.png



Easy...just had to find it.



Please mark this response as correct and/or helpful if it assisted you with your question.
Steven

View solution in original post

17 REPLIES 17

ben510
Giga Contributor

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

(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.

 

 

Ronik1
Giga Contributor

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