- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hope you are doing good.
Did my reply answer your question?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi, thank you for all your responses.
The reason we are planning to remove the Time Zone field from User Preferences is that any update made through this field applies only to the current session. It does not permanently update the user’s time zone.
To address this, we are introducing a new Time Zone field in the About section of the Employee Center portal. When users update the time zone from this section, it correctly and permanently updates the value on the User record. For this reason, we want to remove the Time Zone field from the User Preferences section to avoid confusion.
I noticed that a User Profile widget is being used. However, after reviewing the widget code, I could not find any reference to the Time Zone field. Could someone please guide me on where exactly this needs to be modified—whether it is controlled via the widget script, server-side logic, or any underlying configuration?
Thank you for your support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @pavan patil
Instead of this, I would suggest that this is more of an education issue. Please ask the user to log in to the native view and, from there, go to the profile and change the time zone.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@Dr Atul G- LNG end users don't always have access to backend..
No AI was used in the writing of this post. Pure #GlideFather only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @GlideFather
I tested this in PDI and enduser can go to the native view as OOTB.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
