EntryOptions (NotesViewNavigator - JavaScript)

Read-Write. Options that affect view entries.

Defined in

NotesViewNavigator

Syntax

getEntryOptions() : int

setEntryOptions(options:int) : void

Legal values

Add values to set more than one. If a value is set, a bitwise AND of getOptions and the value is greater than zero.
  • NotesViewNavigator.VN_ENTRYOPT_NOCOLUMNVALUES (1)
  • NotesViewNavigator.VN_ENTRYOPT_NOCOUNTDATA (2)

Examples

This beforePageLoad event creates a view navigator and sets options.
var nav1:NotesViewNavigator = database.getView("By category and date").createViewNav();
nav1.setEntryOptions(
NotesViewNavigator.VN_ENTRYOPT_NOCOLUMNVALUES +
NotesViewNavigator.VN_ENTRYOPT_NOCOUNTDATA);
sessionScope.nav1 = nav1;
This computed field tests a view navigator for an entry option.
return ((sessionScope.nav1.getEntryOptions() & 
NotesViewNavigator.VN_ENTRYOPT_NOCOLUMNVALUES) > 0) ?
"No column values" : "Yes column values";