Alter display value on List type field

Patrick Logan
Tera Contributor

Hi -- in my org, we would like to change this display value ("Select target record") in this field. It's a temporary value, one clicks in there to start typing the attribute they want to use. I've dug around and I'm not seeing where this value is configured. Is it possible to change it to something else, i.e. "Select Desired Attribute(s)"


Thanks

 

PatrickLogan_0-1690416070133.png

 

1 ACCEPTED SOLUTION

khaviya b
Tera Expert

Hi Patrick,

 

If you wanted to do it for a specific field in a form you can use onload Client script. I tried in my personal instance and it worked.

 

khaviyab_0-1690441266243.png

 

It looks like:

 

khaviyab_1-1690441350425.png

However it is mentioned in ServiceNow Product documentation that it is not a best practice in ServiceNow to manipulate DOM. 

 

Reference :

https://docs.servicenow.com/bundle/utah-api-reference/page/script/client-scripts/concept/client-scri...

 

 

 

Regards,

Khaviya

View solution in original post

2 REPLIES 2

khaviya b
Tera Expert

Hi Patrick,

 

If you wanted to do it for a specific field in a form you can use onload Client script. I tried in my personal instance and it worked.

 

khaviyab_0-1690441266243.png

 

It looks like:

 

khaviyab_1-1690441350425.png

However it is mentioned in ServiceNow Product documentation that it is not a best practice in ServiceNow to manipulate DOM. 

 

Reference :

https://docs.servicenow.com/bundle/utah-api-reference/page/script/client-scripts/concept/client-scri...

 

 

 

Regards,

Khaviya

khaviya b
Tera Expert

Also this message is from sys_ui_message_list table in Servicenow. 

 

Reference: 

https://docs.servicenow.com/en-US/bundle/utah-platform-administration/page/administer/localization/r...