We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Time zone on the user preference section

pavan patil
Tera Contributor

Hello Community,

 

I am working with the Employee Center portal and would like to remove the Time Zone field from the User Preferences section.

 

Could someone please guide me on:

 

  • Which widget is responsible for rendering the User Preferences section in Employee Center?
  • Whether this widget needs to be cloned to hide/remove the Time Zone field?
  • Any recommended or best-practice approach to achieve this customization?

 

 

Any guidance or references would be greatly appreciated.

 

Thank you in advance!

1 ACCEPTED SOLUTION

RaghavSh
Mega Patron

@pavan patil There is a simple way with CSS to hide this without changing the widget code.

 

1. Go to "sp_page" table and search page with id = hri_user_profile

2. In the css box, add the below code and reload.

 

#time_zone_picker_select{
  display:none;
}
label[for="time_zone_picker_select"] {
  display: none;
}

 

This will save you for customising the widget.


Raghav
MVP 2023
LinkedIn

View solution in original post

22 REPLIES 22

@pavan patil 

nope.

You update the OOTB page only.

But remember since you are updating OOTB page it will be skipped during upgrade.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

No.


Raghav
MVP 2023
LinkedIn

No


Raghav
MVP 2023
LinkedIn