how to upload the document in sys_attachement table with Table name as a "sys_attachement"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2017 11:26 PM
Hi Fiends
I have to upload the document in sys_attachement table with Table name as a "sys_attachement", But whenever i uploading the document it is stored in the sys_attachment table but with different table name, but i want the Table Name should be the "sys_attachement" (so that only i am able to download using HTML link)
how to upload the document in sys_attachement table with Table name as a "sys_attachement"
Please help me to resolve this issue
Thanks
Ramesh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2017 11:30 PM
Without changing the name also you can put HTML links for download. I am not sure what you are trying to do unless you provide further inputs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2017 11:51 PM
Hi Thanks for your replay
I have used the below HTML code but when I try to download the file Without changing the Table name its says like "Document is not exist"
when the Table name is sys_attachment that time i can able to download so only...
<p>Please attach the documents of Configuration Item in the attachments field</p>
<p><strong><font color="blue">Please download Template Form for Provisioning, </font> <a href="/sys_attachment.do?sys_id=4018908c0fbd3e004ba65bd692050e38" target="_blank"><font color="green"><u>Click Here</u></font></a><font color="blue"> to download form</font> </strong></p>

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2017 12:08 AM
Sys Id in your script should be sys id of the record on attachment table and not the sys id of record like change. Is that a valid sys_id?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2017 12:12 AM
Yes this is sys id is for particular record on attachment table not the sys id of record like change....