Edit fields in Employee Profile Overview?

Rikke Badsberg1
Tera Contributor

Hi 🙂

I am looking for a way to make fields in the Employee Profile Overview widget editable. Specifically, I have added the time zone field from the user table to the widget under 'About', and I would like to make it possible for the user to change their time zone. Can this be done directly in the widget? It is possible to change 'preferred pronoun' and 'bio' from the employee profile. 

 

Thank you!

employee profile about.png

1 ACCEPTED SOLUTION

Pooja_Patil
ServiceNow Employee
ServiceNow Employee

@Rikke Badsberg1 , field should be editable if field ACL on sys_user allows user to edit that field. You can confirm this by impersonating the user and looking at sys_user data.

View solution in original post

8 REPLIES 8

Community Alums
Not applicable

Hi @Rikke Badsberg1 ,

I don't think you can edit the time zone field over there, as it's being pulled/ referenced from User table. Alternatively, users can make changes to their time zones from their profile itself:

Steps to configure portal view and add 'Time zone' field.


  • As an admin, open 'Users' table and select a sys_user record.
  • Right-click on the form banner (or) click the hamburger to select view.
  • Go to the Service Portal view and then right-click header select configure form layout make sure you are in the Service Portal view, then select the timezone field on the available side and move to the selected sided and place where you want it on the form.
  • Save
  • Open the service portal and navigate to the profile page by clicking UserName --> Profile on the extreme right of portal menu. Now users should be able to see the 'Time zone' field under the 'About' section and updating this field would update the Time zone on sys_user record.

Refer to this doc for Configuring employee profile overview widget:

https://docs.servicenow.com/bundle/tokyo-employee-service-management/page/product/employee-center/ta...

 

Hi @Community Alums 

Thank you for your answer. I have already added the time zone field to the portal view, which is why it is shown on the Employee Profile. However, it is not editable for the end user - and since it is in the Employee Center /esc and not an 'old' service portal /sp, only the employee profile is visible, and not the user profile. So even though time zone is editable on the /sp user profile, it is not editable on /esc employee profile. 

 

My solution so far is to create a catalog item for users to edit their time zone in ServiceNow. This means that at least they can change time zone, but not as intuitively as simply editing the field. 

Joe Fletcher
Tera Contributor

Hi Rikke, had to do some digging on this myself so figured I'd share my findings.

 

A script include 'sn_employee.ep_portalUtilSNC' appears to be the single source of control over what can be edited via Portal for the Employee Profile (sn_employee_profile) table fields.

 

Additionally, you may need to consider business rules to sync data back to respective User and/or HR Profile tables. Business rule "Update HR profile fields" defines those HR fields to sync via constants: ["employment_start_date", "employment_end_date", "work_phone", "work_mobile", "location_type", "position_type"]

 

Hope this helps.

~ Joe 

Hi Joe, can you please let us know where you can find that script 'sn_employee.ep_portalUtilSNC'. it is not an ACL so far i can see