Customer need to use read/unread marks on behalf of given name in Xpages to mark new or changed documents.
Trying to mark a specific document read for a specific user with document.markRead("user") fails with following error:
NotesException: Unable to read Unread Marks
Description from help document:
https://help.hcltechsw.com/dom_designer/12.0.0/basic/H_MARKREAD_DOCUMENT_JAVA.html
public void markRead([String username])
If present the method marks the document read on behalf of the given name. If omitted, the method marks the document read on behalf of the current user ID.
The method works only without parameter for the current user and fails with parameter "username".
The following methods don't work in Xpages:
document.markRead("username")
document.markUnread("username")
DocumentCollection.markAllRead("username")
DocumentCollection.markAllUnread("username")
ViewEntryCollection.markAllRead("username")
ViewEntryCollection.markAllUnread ("user")
The Xpages product development team analyzed this and concluded that it is working as designed. The above methods are not supported to work in Xpages.
Expectation: Support all of the above listed methods to work in Xpages.