When opening a document using notesUIWorkspace.EditDocument, where notesDocument refers to a document in a different database, “Invalid or NonExistant document” is raised if the [newInstance] flag is false. However if [newInstance] is true the document is opened correctly. When notesDocument is in the current database then [newInstance] works ok.
Subject: EditDocument with [newInstance] set to false throws Invalid or NonExistant document error.
It looks like a big fat bug to me! I got exactly the same results. I would have bet that it worked in some version, but all I have is my 6.0.3 client right now, so I can’t confirm either way. I just hope they fix it.
Does someone know how to submit bugs? Like many people, I do come across things on occasion that seem very much like bugs, and I’d like to “help the cause!”
'need to call this bit as the above line doesn’t seem to put the doc in edit mode
uidocParent.EditMode = True
Seems that this feature is very buggy. The above code also bombs out in debug mode with the following error message, but works OK when debugger is switched off!
“Error 4412: Notes Error - Specified command is not available from the workspace.”