Disable editing of attachment in Service Portal

Gab
Tera Expert

I would like to disable the attachment in a form view of a record in Service Portal.

I'm using Data Table from Instance Definition widget.

find_real_file.png

find_real_file.png

 

I have already created a UI policy for this, but it seems like it only applies to the instance/back-end.

find_real_file.png

Shruti
Giga Sage

Hi,

You can do that via the CSS. Try to add below code to the widget instance CSS 

.attachment-button {
display:none;
}

.sp-attachment-manager {
display: none;
}

It's not working.

Hi,

Please click on a request record on Data table instance widget. Go to  the Instance in Page Editor for the Form and Paste the Code in CSS and save the form

find_real_file.png

 

find_real_file.png

find_real_file.png

I could not find the Instance in Page Editor option

find_real_file.png