Empty document downloaded from link in email

ShAn21
Tera Guru

Hi Team,

We have configured a email where we have a link when clicking on it the attachment gets downloaded. The file is stored in Attachments table. Everything seems to work fine on dev environment.

 

We have used update set to move attachment. But now we see the attachment is downloaded via link but the work file is empty. We also tried downloading directly from attachment table, there as well the file is empty.

 

Could someone pls share the feedback if you have resolved similar issues. Not sure if we are moving the attachment correctly.

 

Thanks

4 REPLIES 4

psphanindrakuma
Tera Guru
Tera Guru

Hi @ShAn21 

This is due to access issue on that table for which attachments belongs. In dev working fine means user might have required roles or admin.

Check the user has access to that table for which the attachment is belongs to like incident, change etc.,.

Please mark my ansqwer correck and helpful if helps you.

Thanks,

Phanindrakumar

 

Hi @psphanindrakuma 

The attachment belongs to the notification table. The word doc is attached to the same notification thats configured. So are you confirming that unless user has the read access to 'sysevent_email_action' table he wont be able to view the attachment?

 

Thanks

@ShAn21 

Yes. May be you are testing in dev with admin access. because of that no issue in dev. for testing can you give sys_notification required role to user and download.

Hi @ShAn21 ,

 

The user needs read access on Attachment table then only the user will be  able to download  the file where its not blank.

Would request you to create a new "read" acl on the attachment table where u can provide the roles under role section which user has (lets say 'itil') then under condition just mention the sys id of the attachment from the attachment table which u want to share with the users & save the ACL.

 

Now the users should be able to download the attachments. This way we share only 1(or mentioned in acl) attachment with them & not the whole table.

 

Mark my answer helpful & accepted if it helps you resolve your issue.

 

Thanks,

Danish