The Now Platform® Washington DC release is live. Watch now!

Help
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Service portal Header menu Help!!

venkatkk
Tera Contributor

I want to show "My Request" menu in service portal where it is 0 or more tickets.

Any help how can we achieve this.

find_real_file.png

I want to show My tickets when it is "0" also.

Pls Help!!!!

1 ACCEPTED SOLUTION

Gaurav Bajaj
Kilo Sage

HI Venkat,



This can be achieved by following steps



1) Clone "Header Menu" widget and then make below changes in the client script of it. ( to make sure menu item is part of visible items)



find_real_file.png



2) Use it in your portal instead of your OOB header widget.



3) Go to the sp_ng_template table and search for menu template.



4) please make below highlighted changes in it.( Dont forget to change the widget to custom header widget.



find_real_file.png






This render below portal header.



find_real_file.png


View solution in original post

5 REPLIES 5

Mihir Mohanta
Kilo Sage

Please go through the below link.It will work for you as well https://community.servicenow.com/message/1251847#1251847


Gaurav Bajaj
Kilo Sage

HI Venkat,



This can be achieved by following steps



1) Clone "Header Menu" widget and then make below changes in the client script of it. ( to make sure menu item is part of visible items)



find_real_file.png



2) Use it in your portal instead of your OOB header widget.



3) Go to the sp_ng_template table and search for menu template.



4) please make below highlighted changes in it.( Dont forget to change the widget to custom header widget.



find_real_file.png






This render below portal header.



find_real_file.png


vinothkumar
Tera Guru

Hi Venkat,



I have found the similar thread. Please check it.


Service Portal - Always show Requests


ayodyasekhar
Kilo Contributor

Change the filter

t.record_watchers.push({'table':'service_task','filter':'^opened_by=' + u});
//t.record_watchers.push({'table':'incident','filter':'active=true^caller_id=' + u});
t.record_watchers.push({'table':'incident','filter':'caller_id=' + u});
t.record_watchers.push({'table':'sc_request','filter':'requested_for=' + u});

 

In query comment below statements:

//st.addActiveQuery();

//z.addActiveQuery();

//z.addActiveQuery();