Hide comments

devservicenow k
Tera Contributor

Need to Hide Comments from CSM workspace

How to Hide Comments that is present only in the left hand side / the marked one.

 i need the comment that is available in activity section should be present

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@devservicenow k 

remove that field from workspace view then

OR

use client script/UI policy which applies on workspace view and hide that field

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

Pavankumar_1
Mega Patron

Hi @devservicenow k ,

On that form switch to workspace view and go to form layout remove the comments field it will not visible.

or you can achieve to through onload client script as well

Ex: g_form.setDisplay('comments', false);

or create UI policy and UI policy action select your filed and make Visible False.

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar

For CSM workspace we can do like this

Navigator-->UX View Rules Configuration-->CSM/FSM configurable workspace--> i have Selected Incidet view UIB.

and select hide Journal fields.

qq.jpg

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

What you need to do is go to the Incident form and in the workspace view create a new section. 

 

Then move the comment field to that new section and create a UI policy or a onload client script to hide that section.

 

This way you will hide the comment on the form in agent workspace but it will show under compose.

Please check the below for the same:-

 

https://www.servicenow.com/community/now-platform-forum/agent-workspace-duplicate-work-notes-and-add...

 

Please mark my answer as correct based on Impact.