Hello,
I want to get the CURRENT highlighted entry. I know that with db.UnprocessedDocuments I can get the current selected document, but in my case, I have to get the entry and only the entry.
Now I tried it with NotesViewNavigator and the getCurrent() Method. getCurrent() -method is only for COM so I programm a JavaAgent. This method returns sadly the first entry of the view, or the first entry of a category when I create the NotesViewNavigator with createViewNavFromCategory. Do you have any idea how to get the current higlighted entry ?
thanks for your responses
Subject: NotesViewNavigator and getCurrent
Same problem here.My Notes db makes extensive use of multi-value fields.
So I’d like to access the selected entry through NotesViewEntry, but cannot get a grip on it.
Any clue?
Subject: NotesViewNavigator and getCurrent (Somewhat solved)
My coworker pointed me to the CaretCategory property in NotesView.Despite its name, it actually contains the first sorted column value for the highlighted entry (no wonder the view is categorized or not).
My view is sorted on (almost) unique values, so CaretCategory is a valid key to the selected view entry.