Restrict Adding Attachments when Case/Incident is closed in Configurable Workspace

TramaineM
Kilo Sage

Hello,

 

I'm trying to add a basic client script that is working in platform view but not working in the Configurable Workspace. There is a client script: "(BP) Hide Attachment Link when Closed" that is currently for incidents and works on the native platform view. I've copied that, modified the state within the script, and applied it to the case table and it also works on the platform view. Both client scripts have "UI Type" set to All which I thought would apply to both views, but it doesn't. 

 

I've tried working with ServiceNow on this but they state it's a customization feature which I disagree with since it's their own OOB client script that should apply in both forms. We don't want to disable the attachment component completely as we would still need to view the attachments, but a user shouldn't be able to browse/add new ones. 

 

2024-02-26 14_04_02-Window.png

2 REPLIES 2

TramaineM
Kilo Sage

I was told by ServiceNow that this can be handled by a UX screen condition from the variant's page, however I'm not strong at scripting and don't know how to accomplish this. 

 

ux_screen.png

TramaineM
Kilo Sage

Bump