Open an attachment for editing and save changes made to it
Posted
by
Seitaridis
on Stack Overflow
See other posts from Stack Overflow
or by Seitaridis
Published on 2010-10-19T10:26:36Z
Indexed on
2010/12/25
9:53 UTC
Read the original article
Hit count: 351
My Lotus Notes document has a rich text item that stores an attachment. I want to edit the attachment and after this to save the attachment back to the Lotus Notes document. This is the script that launches the attachment:
@Command([EditGotoField];"Attachment");
@Command([EditSelectAll]);
@Command([AttachmentLaunch]);
@Command([EditDeselectAll])
This script opens the attachment, but the changes made are not reflected to the Lotus Document. One way of solving this is to add AttachmentActionDefault=2 as an entry to the notes.ini. This enables to edit the attachment when double clicking on attachment. Also using the right click on the attachment, and then choosing edit action, produces the same result. In both cases, after saving, the changes are reflected back to the Lotus Notes document. The problem is that I want to use a button for opening the attachment.
© Stack Overflow or respective owner