To hide attachments in the record for few users

nivethika
Tera Contributor

Hi Team,

All user seeing the Attachments in case of any do exist, so resolvers that are not part of the "Past assigned groups" which is the custom field reference to sys_user_group table should not see/download attachments from few tables dynamically . In which way i can achieve it easily. Hope i have to create ACL for sys_attachment table. 

Correct me i am wrong with the steps would be helpful.

1 ACCEPTED SOLUTION

Hi @nivethika 

RoshneeDash_0-1750747560119.png

 

Your feedback makes the community stronger! If you found this helpful, marking it as the correct answer helps others.
Stay awesome,
Roshnee Dash

View solution in original post

8 REPLIES 8

Oh is it? But for me its working. As you can see manage item option is not visible here even if attachment is there.

RoshneeDash_0-1750759621925.png

Can you please share the screenshot of your script

Your feedback makes the community stronger! If you found this helpful, marking it as the correct answer helps others.
Stay awesome,
Roshnee Dash

Thanks you so much it worked for me.

Another small doubt is consider if i have custom field reference to sys_user_group table where it will have 2or many groups mapped in that,

nivethika_0-1750760164722.png

 

in that case how to check with all the assigned groups

@Roshnee Dash : Thank you so much.

It worked for me to hide the header attachment. But in the activities field all the attachment is visible, then what is the use of hiding the header attachment.

This is for record sensitivity to prevent user from download or view it.

 

Kindly help me to hide the attachment in both the place header and activities field.

You can use glideajax and pass the logged in user id and the record number to check if the user is present in past group or not.

Its always better to use glideajax in client script instead of direct use GlideRecord

Your feedback makes the community stronger! If you found this helpful, marking it as the correct answer helps others.
Stay awesome,
Roshnee Dash