Created by field should display name instead of P-number

Thereza Van der
Tera Contributor

Good morning everyone 🙂

 

I would like to know if there is a way that I can change the 'created by' field to display the full name instead of a personnel number.

 

Please se my attached screenshot.

 


Regards

Thereza

5 REPLIES 5

Rob Bushrod
Tera Guru

Hi @Thereza Van der ,

Try this link and see if it helps https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/field-admini...

You need to go to the User table in the dictionary and see what the display value is set as, I would guess it is User ID for you. I also imagine that this is the same when you look at created on incident, change etc, as well as the caller field?

Please mark my answer as correct and helpful if this works for you.

Many Thanks,

Rob

Hi @Thereza Van der,

Did you get this solved or do you need any further assistance?

Please mark my answer as correct and helpful if this works for you.

Many Thanks,

Rob

Thereza Van der
Tera Contributor

Hi Rob

 

No, I did not manage to get it working. I attach a screenshot of the user table. User ID is not even one of the fields. None of them have a display value set to true. I would like the username field to be displayed instead of the User ID, but if I set username's display value to true, it still does not display. I searched all over the web. I saw solutions with REST API which I have no clue about, someone else said that I should create a new field called username on the task_sla table, but I don't know how. It is not an option in the slush bucket so I guess there must be another way to add the field. I would really like to get this working. Any additional advice would be appreciated.

Hi @Thereza Van der.,

Sorry I should have said look for user_name (sorry UserID is the label). If you look on your user table hopefully you have a field called Name and that will be a concatenation of First and Last name of the user. If it is and that is the value you want to display then go back to the dictionary look for 'name' and set that to Display = true, otherwise find the value of the field that you want to display and then find that in the dictionary list.

The other place to look is to see if you a system property called 'glide.ui.reference.displayvalue', if you do then you may just have to change that.

Hopefully that will work for you, if not let me know and I will have another think for you.

Please mark my answer as correct and helpful if this works for you.

Many Thanks,

Rob