Remove items from the header in the Employee Service Center

KB15
Giga Guru

I'm trying to figure this out but I can't seem to find answers in the usual places.

I'm looking to customize the header menu in the Employee Service Center page. I'm looking to remove and add as needed but I can't seem to find the right method to do so.

find_real_file.png

  • I'm looking to remove the To-dos and the Cart (if needed) and modify the Requests to point to custom page instead of the OOB page.
  • I've tried cloning this header but I get cross scope errors and a whole set of other errors with it. Are headers not meant to be cloned?
  • Additionally, how would I get the portal to use custom pages? Would that be defined in the header code?
1 ACCEPTED SOLUTION

ServiceNow got back to me to indicate that there's value that must be changed in the Restricted Caller Access Privilege table.

After the widget is cloned, it creates a record on this table under the widget's name as Source

You must set the Status option from "Requested" to "Allowed". This seems to resolve the cross scope error messages.

The below is the OOB record for the ESC Header prior to cloning (for reference). Find the record with your cloned widget and change the value in the correct scope. This corrected the issue for my situation and may save you some time if you're cloning widgets and run into this error.

find_real_file.png

View solution in original post

12 REPLIES 12

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI,

To disable cart you have to follow below approach.

1) Go to Portal in left navigation

2) open Employee Self Center (esc) record and go to header menu

find_real_file.png

 

3) Once you open that header menu you see below screen. Set the value to false in enable_cart object.

find_real_file.png

 

4) TO Disable To Do list you have to go to theme i.e esc theme in which header is used see below image:

find_real_file.png

 

5) Open header and see below highlighted area which you have to change. If you don't want to do section then just comment that HTML code. You need to clone this widget to do so.

find_real_file.png

 

To navigate Request to other page change below highlighted area:

find_real_file.png

 

Thanks,
Ashutosh

I'll have to try once I get the errors fixed. I guessed it was hard coded into the header. Thanks.

What do you mean? You can clone the header and then edit it.

 

Thanks,
Ashutosh Munot

See the other comments above. I cloned the header but I'm getting cross scope errors.

Hi,

This is happening because you application don't have access to other application which your code is trying to access. 

Open table sys_auth_profile_basic and in application access tab set all check box as true based on operation which you want to perform on this table and also set the field "accessible from" value to all application scope ,

After that try this again.

Thanks,
Ashutosh