Problem solve Get help with specific problems with your technologies, process and projects.

Embeding a file after detaching renames file with junk name

I have one form where there are multiple rich text fields. Users are uploading files in all of those fields. Once that is done, they will submit the document to approver. After that is complete, those rich text fields should become non-editable. I was able to do this by using embedObject. But whenever I detach the file and then embed it again in a non-editable rich text field, the name of the file is changed to some junk name. Whatever I try, I am not able to give it the correct name. Can you suggest a solution?
You said you are detaching the file. Make certain that when you detach the file, you are saving it with the name you want it to retain. You also must remove the file from the rich text field (notesEmbeddedObject.Remove). If you don't remove the original file, the system generates a name since the original name already exists.

Do you have comments on this Ask the Expert question and response? Let us know.

Dig Deeper on Lotus Notes Domino Application Development

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...