Want to change default text(Select target record) from field 'list' type used to add multiple users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 03:21 AM
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.
Wanted to remove the above default text highlighted.
Thanks and Regards,
Syed Raziya Sultana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 03:34 AM
Hi @Raziya Sultana ,
The message comes from -- "sys_ui_message" table
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
Shravan
Please mark this as helpful and correct answer, if this helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 03:36 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 05:52 AM
Thanks Saurav this code is working fine.
Regards,
Syed Raziya Sultana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 05:59 AM
Hello,
If my answer helped you please mark it as correct.
Thanks.