Could you please give some more details about this case ??
I have a request form in which there are 4 richtext fields for attachment. The application is used in lotus notes as well as web. When files are attached into these richtext fields in notes there is absolutely no problem. when files are attached using file upload control in web then attachments are placed at the bottom of the document when viewed in Notes environment.
And this is not recognized that which file is attached into which attachement field. How can I resolve this issue, i.e. I want the attachment to be placed into corresponding rich text fields in notes as well as web. Can you help me?
It is not clear what you wanted to say. Can you explain?Is it that that I need to create a url to get the attachement. But I want to clarify that there are mote than one attachment fields and the attachement files need to be attached at respective attachment field in lotus notes as well as web environment.
Perhaps,He just want to know the upload files uploaded from which richtext item,But in
In Web,It’s from upload control.So can’t know form which item,Perhaps you can get the doc’s all upload files,then extract file to the server directory,at last ,upload the file to the doc from the rich text item instead of the old one.
I got the solution to get the web attachments from (what looks at )bottom of the document into the respective rich text fields. For example: suppose we have two rich text fields , each rich text field is used to attach some files , and the application runs in web as well as notes. In notes there is no problem, but in web the attachment is done through the file upload control button and in doing that all attachment show the bottom of the document.And we do not know which attachement file corresponds to which rich text field.
1)First of all create two hidden text fields corresponds to each of the rich text field.
first field for tracking current file name to be attached and 2nd one to keep track of all the attachment file names for that rich text field.
2) Apart from field upload control button, create another button named “upload”. File upload control button is used to browse the file and the 2nd button i.e. “upload” is used to get all the selected file into hidden field, so that it contains the information of what are the files for the richtext field.
3) In the post save event of the form it is reqd to run the agent which actually gets all the name from the hidden field for respective attachment and get the attachment file save into harddisk and and attach into corresponding rich text field.