hide attachment
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 06:34 AM
How to hide attachment icon from portal when the case is close, i have created read ACL on sys_attachment table but it is not working
answer = getAttachmentWriteAnswer();
function getAttachmentWriteAnswer() {
var parentRecord = new GlideRecord('hr_case');
parentRecord.query();
if (parentRecord.next()) {
var status = parentRecord.getValue('state');
if (status != 3) {
return true;
} else return false;
}
}
0 REPLIES 0