Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Disable the remove option in "Manage Attachments"

sojanjohn1
Kilo Contributor

Hi All,

Im able to disable the remove option in "Manage Attachments" through onLoad Client script.

find_real_file.png

But its not working while preview the same doc, user is able to remove it.

find_real_file.png

any help would be much appreciated.

  

3 REPLIES 3

Allen Andreas
Tera Patron

Hi,

You'd either have to edit that feature or consider preventing the delete, via ACL on the sys_attachment table for records of this type. You'd have to review your current delete ACL and change that to not allow them to do so.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi Allen, could you explain bit more. thank you.

Hi,

My apologies, I'm unsure where you may be confused as I gave the feature within SN that you'd use, the table name, and the type of ACL.

Perhaps you can take a look where I mentioned and then explain where you're confused, so that I know how I can help?

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!