lookupNames (NotesDirectory - JavaScript)

Looks up designated items for specified names in the specified View.

Defined in

NotesDirectory

Syntax

lookupNames(view:string, names:string, items:string) : DirectoryNavigator

lookupNames(view:string, names:java.util.Vector, items:java.util.Vector, partialmatches:boolean) : DirectoryNavigator

Usage

Parameter Description
view The name of the view in which to look up names.
names The names to be searched in the view. Entries must match one of these names to be searched for items.
items Summary data items whose values will be returned by the lookup.
partialmatches Indicates partial matches of names are allowed.
Return value Description
DirectoryNavigator A newly created directory navigator containing the item values.
This method flushes the directory cache and resets all child navigators.

The items specified in this method can be: the programmatic name of a column (the programmatic name is not necessarily the display name); the programmatic name of a field in the note (names which are not columns in the specified view); a computed item provided by a name lookup (such as $$DbName). For best performance, use column names from the specified view or computed items.