The CreatorCon Call for Content is officially open! Get started here.

How to Hide Comment Field on the portal

Community Alums
Not applicable

We have a requirement to hide the comment field from the portal for the HR Cases.

If the HR Cases are on closed state then the comment field should be hidden for the users , as of now it is not working like that.

asmitasahu_0-1684161049509.png

 

For incident and RITM it is working as expected , if incident is closed then the field is not visible to users.

We are using the same OOB widget for all requests. i.e., Standard ticket tab

Can you please help me to find out from where the field is getting hidden for incident OR how can we hide it for HR cases.

Thanks in advance.

 

1 ACCEPTED SOLUTION

Laszlo Balla
ServiceNow Employee
ServiceNow Employee

You can amend the respective ACLs for sn_hr_core_case.comments with an active=true filter or any other condition you need. No need to touch the widget.

View solution in original post

6 REPLIES 6

Yeah, so if you have 2 ACLs on this field now, then the one you pasted here will always give access to the users. So if you want to keep it simple, you can just add the active = true condition to the OOTB ACL, and not to a separate one.

Meryem Kaibous
Tera Contributor

I tried to disable that on ALC level, but it's not working, even in Backend not only on portal.