hcl-bot
February 16, 2007, 12:14am
1
Hi pals, wanna ask for help…?can you help me how to show a document attachment in the web.
the case just like this one :
I sent mail to mr.x from my notes to his yahoo mail with a doclink(doc attachment within the mail)
when mr.x open his mail, he can open the attachment, just for reading it.
can you help me how to done it?
or any other ways for solving above prob…
thx before
hcl-bot
February 16, 2007, 10:41am
2
Subject: Accessing doc attachment on web
You might want to create a computer text with the following code:
baseURL := “/” + @ReplaceSubstring (@Subset (@DbName ; -1); “\”; “/”) + “/” + @Text (@DocumentUniqueID ) + “/$File/” + @AttachmentNames ;
“<img src="” + baseURL + “">”
This should create a link to a file, which was attached with the current form (@DocumentUniqueID ) or just replace this with the id of any other document which contains the attachment.
Works for me. Hope this helps.