Ask the Expert

When are the NotesDatabase and NotesDocument modified timestamps updated?

Under what circumstances are the NotesDatabase and NotesDocument modified timestamps updated?

The modified timestamps are not updated when documents are added to folders or move between folders. This is the case even when the NotesDatabase.FolderRefsEnabled property is true and moving the document between folders causes the $FolderRef, $FolderRefID and $FolderRefFlags to be updated.

I am trying to use the timestamps to optimize processing by skipping unmodified databases and documents based on the timestamp. However, if the timestamp is not reliably updated this will not work.

Folder operations are not considered to "modify" the document, and thus, there is no corresponding timestamp issue in relation to any folder operation.

In Notes, a document is modified, and thus the timestamp updated, if a substantive change to the document occurs. Changing the location of a document within a user's filing system is not a substantive change to the Note itself, but simply a user's preference as to which "places" the Note should appear within the database, thus the Note's timestamp is not modified.

This was first published in June 2005

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: