Hide attachment from activity logs

Bhai
Tera Contributor

Hi Team,

we have requirement that,

INC00XXX has attachment.

Hide attachment from activity logs if sate is in closed state.

TIA.

 

 

1 ACCEPTED SOLUTION

Vishal Khandve
Kilo Sage

Hi,

 Please write as display BR and called it from onload client script and make the manage attachment, attachment pin and note section hidden for the user you want.

 

ex. if it is only visible for caller, assigned to user then you can go for above method.

 

Thanks,

Vishal

View solution in original post

9 REPLIES 9

Anais Geisen
Tera Expert

Hi,

I would suggest you to deal with it with ACLs on attachment table (read).

Add script, for example:

if (current.table_name == 'incident')  

Please mark as answer/helpful, thanks!

Regards

Vishal Khandve
Kilo Sage

Hi,

 Please write as display BR and called it from onload client script and make the manage attachment, attachment pin and note section hidden for the user you want.

 

ex. if it is only visible for caller, assigned to user then you can go for above method.

 

Thanks,

Vishal

Hello,

 it works for me.

Can you please share the code so I can do it?

Please accept my solution if it works for and thumps up.