Web : how to copy an attachment into a rich text field?

Hi,

i would like to copy an attachment provided by the control upload file control into a specific rich text field (in web).

i suppose i have to use Javascript, but i have no idea how to do it.

thanks in advance.

Subject: web : how to copy an attachment into a rich text field ?

Hi,

As far as I know, it’s impossible.

Notes/Domino puts attachments in $FILE field (one field per attachment) and display them at the bottom of the document.

Why you want to copy attachment in specific field?

Thierry

Subject: RE: web : how to copy an attachment into a rich text field ?

in fact, my document can be updated by several person . Each person can add one or several attachments, but can not delete or modify previous attachments in the document.

So i was thinking to implement one rich text field by person, and then i would make an access control on each rtf.

but i have no idea how to it.

Subject: RE: web : how to copy an attachment into a rich text field ?

Ok, I see.

An idea…

So that users cannot delete or modify attachments you can hide attachments and create links to open them, look at this codestore.org - This website is for sale! - codestore Resources and Information.

…and some links :

and http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/15ed718da643a72c85256f24004fc036?OpenDocument

and http://www-10.lotus.com/ldd/sandbox.nsf/Search?SearchView&Query=attachment%20and%20multiple&SearchOrder=1&SearchMax=1000&SearchWV=FALSE&SearchFuzzy=FALSE&Start=1&Count=10

HTH

Thierry

Subject: web : how to copy an attachment into a rich text field ?

Normally when u create a upload file field in notes it will be treated as richtext field than only u can acces attached file in lotus script. In javascript u can do only client validation. If want copy attachment to another richtext field u have to do in lotus script

Subject: RE: web : how to copy an attachment into a rich text field ?

Ok, i have implemented an agent that move the attachment into a specific rtf but it doesn’t work.

has anybody already tried to do it ?