Want to change default text(Select target record) from field 'list' type used to add multiple users

Raziya Sultana
Tera Contributor

Wanted to change the default text called "Select target record" from the field list type used to add multiple users from the user table. Check the below image and please let me know is there any possibility to remove the default text.

RaziyaSultana_0-1686219609779.png

Wanted to remove the above default text highlighted.

 

Thanks and Regards,

Syed Raziya Sultana.

9 REPLIES 9

Sai Shravan
Mega Sage

Hi @Raziya Sultana  ,

 

The message comes from -- "sys_ui_message" table 

SaiShravan_0-1686220323157.png  

SaiShravan_1-1686220385826.png

 

Update the text as per the requirement.

 

Note: It impacts where the message is populated 

 

Regards,

Shravan

Please mark this helpful and correct answer, if this helps you

 

Regards,
Shravan
Please mark this as helpful and correct answer, if this helps you

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

You can write a onload client script as below. However it would be DOM manipulation which is not considered best practice:-

 

function onLoad() {
   var el = g_form.getElement("sys_display.incident.watch_list");
   if (!el) {
   return;
   }
   el.placeholder = 'Enter User';
}

 

Refer below post:-

https://www.servicenow.com/community/developer-forum/customize-watch-list-field/m-p/1658034

 

Please mark my answer as correct based on Impact.

Thanks Saurav this code is working fine.

Regards,

Syed Raziya Sultana.

Hello,

 

If my answer helped you please mark it as correct.

 

Thanks.