getAllReadEntries (NotesView - JavaScript)

The method returns all entries associated with documents that have been read.

Defined in

NotesView

Syntax

getAllReadEntries(username:string) : NotesViewEntryCollection
Parameter Description
username If present the method returns all read entries on behalf of the given name. If omitted the method returns a all read entries on behalf of the current user ID.
Return value Description
NotesViewEntryCollection All read entries. If no entries are read, the collection is empty and the count is zero. If the database does not track unread marks, all entries are considered read.

Examples

This computed field displays the number of read entries in a view associated with the page.
return view1.getAllReadEntries().getCount().toFixed()