Aus der KBASE:
When Two Attachments Have the Same Name the Second is Assigned a New Name for the Notes Back End
Problem:
When you have two attachments with the same name in a Notes Document, the first attachment returns the correct name and the second attachment returns something similar to ATTPLJYX.
The NotesEmbeddedObject class' Source property and Name property return the Notes internal attachment name and not the name of the file attachment.
If you create an attachment, Notes will check if an attachment with this name already exists in the document.
- If there is not an attachment with this name in the document, it will use an internal name (the file attachment name).
- If there is an attachment with this name already in the document, Notes will randomly create a name for it because the internal attachment names must be unique in a document.
Solution:
This issue has been reported to Lotus Quality Engineering and a fix is being researched for the next major release of Notes.
=> Ergo: In R5 sollte es anders sein.
Andreas