How to hide specific fields on "My Profile" in Employee Center but keep them visible in the native v

Astik Thombare
Tera Sage

Hi Community,

 

I have a requirement where certain fields on the "My Profile" page in the Employee Center should be hidden from end users (employees), but the same fields should remain visible in the native view for agents and admins.

AstikThombare_0-1748434554620.png

 

Could anyone suggest the best way to achieve this? 

 

Thanks in advance!

2 ACCEPTED SOLUTIONS

@Astik Thombare 

steps

1) make a copy of "User Profile" widget

2) add the field which you don't want to show in the excludes list

3) save that widget

4) then add this newly created widget to "hri_user_profile" page

AnkurBawiskar_0-1748437368862.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

I tried it was not working .

 

I found one script where in client controller they have mention excluded fields . I have added those fields and now it is not visible on portal 

 

 

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@Astik Thombare 

which page is that?

Is it "hri_user_profile"? this one below

AnkurBawiskar_0-1748435989022.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Hi @Ankur Bawiskar ,

 

Yes it is hri_user_profile

 

Thanks,
Astik

@Astik Thombare 

steps

1) make a copy of "User Profile" widget

2) add the field which you don't want to show in the excludes list

3) save that widget

4) then add this newly created widget to "hri_user_profile" page

AnkurBawiskar_0-1748437368862.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Astik Thombare 

Just found that the view it uses is "Service Portal". Try adding or removing fields from that view and see

AnkurBawiskar_1-1748437526430.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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