Modify the label of the Additional Comment tab in Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi,
I would like to modify the label of the Additional Comments field in Service Operation Workspace
I tried modifying the client script that adds "customer visible" to the label and that didn't work. I don't have any label override. How do I remove "customer visible" from the tab in workspace?
Thanks,
Sam
- Labels:
-
Service Operations Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @SamuelTse
This solution might help
https://www.servicenow.com/community/developer-forum/change-additional-comments-label/m-p/1429360
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @SamuelTse ,
Create custom catalog script...
function onLoad() {
if (!g_user.hasRole("itil")) return;
var labelText = g_form.getLabelOf('comments');
if (labelText.substring(labelText.length - 1) === ':') {
labelText = labelText.substring(0, labelText.length - 1);
}
labelText = labelText.split("(Customer visible)")[0];
g_form.setLabelOf('comments', labelText);
}
After implementing this script, ensure to set the execution order appropriately to ensure it runs after any other scripts that might modify the label....
Check this article: https://www.servicenow.com/community/itsm-forum/how-can-i-hide-the-customer-visible-tag-on-additiona...
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/