Header Menu error in Service Portal

danielbrandao
Tera Contributor

I'm testing out a secondary service portal in my Dev environment that will tailor to a specific division of our company. I've copied most of the items for the main service portal over from the out of the box portal but I'm having an issue with creating a new header menu for this second portal. I created the menu item Service Catalog without any issues but when I try to add the Menu Items "Requests" or "Approvals" (both scripted lists) I get an error on the page.

Here's the error:

find_real_file.png

Line 65 (the same default code from out of the box portal):

find_real_file.png

Service Portal Tree:

find_real_file.png

The Requests menu item doesn't show up in the Header Menu either, only the Service Catalog.

find_real_file.png

Probably unrelated but it might be worth mentioning that Requests and Approvals work as widgets in the body of the home page. Just not in the header menu.

find_real_file.png

Any tips would be greatly appreciated as I'm pretty new to Service Portals. Thank you!

-Dan

6 REPLIES 6

Mine was related to a missing directive on a clone of the header widget.  The spDropdownTree part may be related.

https://www.servicenowelite.com/blog/2018/11/15/clone-the-header-widget

Utpal Dutta1
Mega Guru

Hey Daniel,

 

If you have cloned the Header Menu then you need to copy these ng-templates as well of the original Header Menu to cloned one.

 

find_real_file.png

 

 

If my answer was helpful the mark it Correct and Helpful.

 

 

Thanks and Regards:

Utpal Dutta