Modify the label of the Additional Comment tab in Workspace

SamuelTse
Tera Guru

Hi,

 

I would like to modify the label of the Additional Comments field in Service Operation Workspace

sow.png

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

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@SamuelTse 

I am in Yokohama and SOW version is 6.1.6 and it's not present on my side.

AnkurBawiskar_0-1757608800279.png

AnkurBawiskar_1-1757608820847.png

 

this client script might be adding that in SOW "Modify Comments Label".

AnkurBawiskar_2-1757608870672.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

14 REPLIES 14

kaushal_snow
Mega Sage

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.

 

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/

SamuelTse
Tera Guru

@Rafael Batistot and @kaushal_snow 

 

Thanks for the reply. Both of your solutions do not work for workspace unfortunately. Any other suggestion?

 

Sam

@SamuelTse 

 

Can you check if there are any plugin updates available and if yes, update the 'Service Operations Workspace' plugin

 

In my SOW workspace, it is showing up as Additional Comments by default

Bhuvan_0-1757600173509.png

Bhuvan_1-1757601397767.png

If this helped to answer your query, please mark it helpful & accept the solution. 

 

Thanks,

Bhuvan