how to upload the document in sys_attachement table with Table name as a "sys_attachement"

Rameshnathan
Tera Expert

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"

find_real_file.png

Please help me to resolve this issue

Thanks

Ramesh

11 REPLIES 11

Kalaiarasan Pus
Giga Sage

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.


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>


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?


Yes this is sys id is for particular record on attachment table not the sys id of record like change....