Auf dieser Website werden Cookies gesetzt, die für den sicheren Betrieb technisch erforderlich sind. Siehe: Datenschutz

Method view.createViewNavFromAllUnread not working

by Bernd,
assono GmbH, Standort Hamburg,


In Lotus Notes and Domino 8.0 a new Java method was added to the view class: createViewNavFromAllUnread(). I spend quite some time to figure out that it is not working.

It seams that this method is broken since version 8.5 and is still broken in 9.0.

IBM is aware of the situation but there is no priority to fixing this issue.

console showing unread counts

One workaround is to use the method getAllUnreadEntries() from the view class. But this method is much slower than a ViewNavigator.

In my XPages project I was lucky. I only needed the number of unread mails from the users inbox. So I could use a feature from iNotes.

http://[path to users mail database]/iNotes/Proxy/?OpenDocument&Form=s_ReadViewEntries&PresetFields=FolderName;($Inbox),UnreadCountInfo;1,noPI;1&TZType=UTC&Start=1&Count=1

The URL returns a XML file with an entry unreadinfo.

Technical article IBM Domino JavaScript Java XPages

You have questions about this article? Contact us:

Sie wollen eine individuelle Beratung oder einen Workshop? Read more

More interesting entries

Any questions? Contact us.

If you want to know more about our offers, you can contact us at any time. There are several ways to contact us for a non-binding first consultation.

assono GmbH

Location Kiel (headquarters)
assono GmbH
Lise-Meitner-Straße 1–7
24223 Schwentinental

Location Hamburg
assono GmbH
Bornkampsweg 58
22761 Hamburg

Phone numbers:
Human resources department: +49 4307 900 407
Marketing department: +49 4307 900 402

E-Mail adresses: