Allow user to download a PDF file on click of a button.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2022 03:25 AM
I have a requirement to allow user to download a pdf file on click of a link.
I implemented this change using the sys_attachements table and referencing in the html as
<a href="sys_attachment.do?sys_id=17ca97ca1bbd8110775d7bff034bcb16" >
But the sys_attachments table is not accessible across board and some of the users are not able to access it?
Is there a way to pass system user credentials while accessing this file ?
if not , what will be the best approach to solve this ?
- Labels:
-
Managed Documents

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2022 04:29 AM
Hi,
Where you are trying to add pdf.?
Regards,
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2022 04:29 AM
update the sys_attachment read acl
In case there is no acl create a new sys_attachment.none (READ) Acl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2022 05:47 AM
thanks for the response.
the sys_attachment table cannot be modified as it is being used by other modules / teams.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2023 01:58 AM
Hello @Anubhuti Mittal ,
I'm facing the same issue when external user clicks on download button while exporting excel sheet. The page redirects to sys_attachemnt.do.
Could you please help, thankyou.