Flexible change the display name value of a reference field

sieusaopolo15
Giga Sage

I have an reference field "A" on my custom table which is used on both tables: incident and user

=> What I want is to show different display name when users access to table incident and user like it will be showing display reference value = "Hello" in table Incident and showing display reference value = "Good bye" in table User. Is this logic even possible to do ?

6 REPLIES 6

Mark Manders
Giga Patron

No. A table can only have 1 display value. You could update your custom table with a display name that is a combination of both, showing "Hello, Good bye".


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Ankur Bawiskar
Tera Patron

@sieusaopolo15 

please use approach shared by @Mark Manders 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

NagaChandaE
Mega Sage

Hi @sieusaopolo15 ,

This is can be done through g_form.setvalue() and onload client script on incident and user table.

Screenshot 2026-03-09 at 7.01.59 PM.png

Did you test this?


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark