1. Attachment

nameisnani
Giga Sage

Hi Team , 

 

can anyone please help me with this question? 

 

Do you know if there is a way to attach files to incidents which the requestor/caller can't see? Like a "work note," but an attachment .

 

Please provide steps and screenshots for better understanding .

 

Thanks,

4 REPLIES 4

Mark Manders
Tera Patron

I depends on how you want this to function. You can put ACL's or query business rules on the attachment table, but you need to understand that no attachments will be visible in that case. You could consider only their own attachments to be seen (created is dynamic me), but you will never be able to put an instruction as attachment on the incident.

Also: check your notifications that they don't send the attachments. But there is no OOB way to just say 'this attachment can be seen, this attachment can't be seen'.

Ravi Gaurav
Giga Sage

Hi @nameisnani 

Just write an onload client script to read the user role and if the user doesn't have the appropriate roles then just

 

g_form.disableAttachments();

Ecx:-

function onLoad() {

if(g_user.hasRole('scrum_reader')) {

g_form.disableAttachments();

}

}

or..
use the below:-
gel('header_attachment').style.display='none';

 

 

@Ravi Gaurav  Thanks for your response , could you please provide test example , like screenshots of configuration of incident table ? 

This will hide the possibility to attach documents. Not to see them.