display a sys_user field on portal

asd22
Tera Contributor

Hello i have a field from sys_user i  would want to show in our "about me" page on our portal.

Say the table it user_name i want people to see in the "about me" their user name.

Is this html and serverscript in the widget i need to edit?

2 ACCEPTED SOLUTIONS

@asd22 

the view which shows the fields is this "Service Portal" on sys_user

Configure that view and add/remove your fields and it will reflect here

AnkurBawiskar_0-1738848744610.png

 

AnkurBawiskar_1-1738848862333.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

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @asd22 

 

You can go to user table:

change the view

AGLearnNGrow_0-1738851695666.png

Configure Form layout

and add the field to right side

AGLearnNGrow_1-1738851738407.png

 

save and go to portal and check.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

3 REPLIES 3

asd22
Tera Contributor

this one is already displaying a lot like user email and phone. How do i edit this one to also include more fields?

<div>
                  <sp-editable-field block="true" table="sys_user" editable-by-user="data.isLoggedInUsersProfile" table-id="data.sysUserID" field-model="fieldModel"></sp-editable-field>
                </div>

@asd22 

the view which shows the fields is this "Service Portal" on sys_user

Configure that view and add/remove your fields and it will reflect here

AnkurBawiskar_0-1738848744610.png

 

AnkurBawiskar_1-1738848862333.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

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @asd22 

 

You can go to user table:

change the view

AGLearnNGrow_0-1738851695666.png

Configure Form layout

and add the field to right side

AGLearnNGrow_1-1738851738407.png

 

save and go to portal and check.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************