Edit attachments in place

From the 6.5.1 user help file:

To edit file attachments

When you choose to edit an attachment, Notes opens the file in the application the attachment was created with. When you save and close the edited attachment in the application, Notes replaces the old file with the updated file attached in the document. You do not have to delete the old attachment from the document and attach the newly edited attachment. When you close the Notes document, click Yes to save the changes in the attachment, or click No to reverse the changes.

  1. Select the file attachment by clicking it.

  2. Choose Attachment - Edit.

  3. Edit the file, then save it in the application you used to edit the attachment.

  4. When closing the Notes document, click “Yes” to save the document.

I cannot get this to work consistently using R6.5.3 on XP, SP2. I’ve searched the forum, and I know there are some programmatic issues with this feature. My problem (and its about to become extremely acute) is that even following these simple steps using the client, I can’t get it to work. When using the edit-in-place function on an attachment, changes made to the file in its native application (I used Word for all my testing) do NOT save back to the original document.

Multiple trials using precisely identical steps yielded no save to original, or occasional, inconsistent saves.

Has any one else either experienced this problem, reported it to IBM, or found some consistency to the cause of the failure?

AAAARRRRRGGGGGGHHHHHHH!

Re’s,

MC

Subject: Edit attachments in place

I used to get this!!!Search for Edit Attachment in this forum to see descriptions.

The results I got also included older changes reappearing after some time - I think that may have dissuaded some people from thinking I had a genuine issue.

I even have a demo database that reliably exhibits the problem. I logged this with IBM and sent them the database.

It eventually seemed to come down to one of 2 things…

a) Do you have another attachment on the same document.

b) Are you doing ANY code in the PostSave or QuerySave.

Initally the IBM viewpoint was that it was the code in the Post save or Query save that was causing the problem - meaning that it was customer code related and therefore not a bug. I was very unhappy with this response, as the code worked perfectly when you did a manual save and reattach, which meant it was related to the edit in place functionality.

Finally I managed to get put through to someone sensible, who suggested that it was might be the second attachment on the document that was causing the problems, especially as it had the same name and was on the same row of a table.

On investigation that second attachment ( in a computed field - so not editable ), seemed to have picked up the changes that were intended for the attachment in the editable field.

I removed this, and sure enough, the problem seems to have disappeared now, and it even seemed to clear the already corrupted documents, although that application is a seasonal one, and will come into heavy usage again in a couple of months so we shall see.

I was told a technote would be raised about it but I cannot see one that relates, so I have chased that up.

I hope this helps, I nearly went out of my tree trying to figure it out.

Subject: Edit attachments in place

Are you getting the save dialog in Notes? (FWIW, I’ve never had any difficulties with this feature.) Note that once you have saved a set of changes, Notes considers the temp file “dead”, so you don’t get multiple kicks at the can in the same edit session.

Subject: Edit attachments in place

Does the user have enough access to edit the Notes document? If not, user can still “open” the attached file but the changes cannot go back into the Notes document.