Query (NotesViewEntryCollection - JavaScript™)
Read-only. The text of the query that produced a view entry collection if the collection results from a full-text search.
Defined in
NotesViewEntryCollectionSyntax
getQuery() : string
Usage
For collections produced without a search, this property returns an empty string.Examples
This computed field displays the query associated with a view entry collection defined elsewhere on the page.var query:string = "";
if (requestScope.vec != null)
query = requestScope.vec.getQuery();
return query.isEmpty() ? "No query" : query;