SiblingCount (NotesViewEntry - JavaScript™)
Read-only. The number of siblings belonging to the current view entry.
Defined in
NotesViewEntrySyntax
getSiblingCount() : int
Usage
The sibling count includes the current entry unless it is a total.Examples
This computed field returns the number of categories for a view by getting the first entry and counting the siblings.var nav:NotesViewNavigator = database.getView("By category").createViewNav();
var entry:NotesViewEntry = nav.getFirst();
return "Number of categories: " + entry.getSiblingCount();