Service Portal: Adding custom menu to the SP Header

maheshm
Tera Expert

Hi there,

can someone help me with a code snippet that allows me to insert a drop down with bunch of URLs in it in the SP Header Menu of the Service Portal ?

find_real_file.png

Am actually trying to add a drop down with URLs next to System Status.

any references on this would be of great help.

thanks,

Mahesh M.

1 ACCEPTED SOLUTION

That particular dropdown menu exists in Service Portal Widget "Stock Header" on lines 32-35 (see screenshot). I ended up cloning this widget to make my customizations, and in fact added a couple of entries to this dropdown. If you do this, you'll need to point your Service Portal > Theme to point to your new header widget.



header.PNG


View solution in original post

6 REPLIES 6

Howard Baker
Tera Expert

On the portal configuration page is an element called "Main Menu", which is a reference to a Menu record (Service Portal > Menus).


Make a copy of the OOTB "SP Header Menu", and then add the menu items you need (don't forget to select your new menu in the portal properties).



To make any of them into a drop-down, create additional menu items on that item's record--you can have multiple levels.


Menu_Item.png   Menu.png


Shiva Durga Pra
Tera Contributor

 I have created it in the portal(navigation), but unable to to see the name in the portal header 
findings:  check with the order number 

2. check from the inspect and understand that was coming from the Rest API.
Is any other that we can create and visible in the portal .