LookupNames (NotesDirectory - LotusScript®)
Looks up designated Items for specified Names contained in the specified View.
Defined in
Syntax
Set notesDirectoryNavigator = notesDirectory .LookupNames(view$, names, items[, partialmatches])
Parameters
view$
The name of the view in which to look up names.
names
Variant. Either a single string, or an array of strings. The names to be searched in the view. Entries must match one of these names to be searched for items.
items
Variant. Either a single string, or an array of strings. Summary data items whose values will be returned by the lookup.
partialmatches
Boolean. Optional. Indicates partial matches of names are allowed.
Return value
notesDirectoryNavigator
The newly created directory navigator, containing the values in items of entries whose name matches (or partially matches, if partialmatches is true) names.
Usage
This method will flush the NotesDirectory cache and reset 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 NAMELookup (such as $$DbName)
For best performance, use column names from the specified view or computed items.