I have a requirement from a client as follows.
They want to be able to detect a change in the back end document when a document is open in read mode.
For instance if I have a document open in read only mode.
Somebody else opens that document and saves/closes it.
If I put that document that I have open into edit mode they want a message to pop up stating that somebody has saved this document and that I must close and reopen the document to get the new changes.
What I have tried:
On querymode change I tried to get the back end doc through get documentbyUNID to check the modified date. Did not work, it only returned a backend copy of what I had in the UI
I tried the modifiedwhensaved property of NotesUIDoc…Did not work.
I tried to set a field on the document to @now when saved then compare that date with the UIDoc last modified. Again it only returns a backend doc of the UIdoc so no go.
Any ideas.