Skip to main content

NotesView

Properties

NameDescription
Aliases (NotesView)Read-write. The aliases of a view.
AllEntriesRead-only. All document entries in a view.
AutoUpdateRead-write. Indicates whether a view is automatically refreshed by the currently running code when a navigation method touches an update (addition,…
BackgroundColorRead-write. The background color of a view.
ColumnCount (NotesView)Read-only. The number of columns in a view.
ColumnNamesRead-only. The names of the columns in a view.
ColumnsRead-only. All the columns in a view.
Created (NotesView)Read-only. The date/time a view was created.
EntryCountRead-only. The number of documents in a view.
HeaderLinesRead-only. The number of lines in the header of a view.
HttpURL (NotesView)Read-only. The Domino® URL of a view when HTTP protocols are in effect.
IsCalendarRead-only. Indicates whether a view is a calendar view.
IsCategorizedRead-only. Indicates whether a view is categorized.
IsConflict (NotesView)Read-only. Indicates whether a view is enabled for conflict checking.
IsDefaultViewRead-write. Indicates whether a view is the default view of the database.
IsFolderRead-only. Indicates whether a NotesView object represents a folder.
IsHierarchical (NotesView)Read-only. Indicates whether a view shows response documents in a hierarchy.
IsModifiedRead-only. Indicates whether a view is modified.
IsPrivate (NotesView)Read-only. Indicates whether an entry is specific to an individual.
IsProhibitDesignRefreshRead-write. Indicates whether a design refresh or replace can overwrite a view.
LastModified (NotesView)Read-only. The date/time a view was last modified.
LockHolders (NotesView)Read-only. The names of the holders of a lock.
Name (NotesView)Read-write. The name of a view.
NotesURL (NotesView)Read-only. The Domino® URL of a view when Notes® protocols are in effect.
Parent (NotesView)Read-only. The database to which a view belongs.
ProtectReaders (NotesView)Read-write. Protects $Readers items from being overwritten by replication.
Readers (NotesView)Read-write. The contents of the $Readers field associated with the view.
RowLinesRead-only. The number of lines in each row of a view.
SelectionFormula (NotesView)Read-write. The selection formula of a view.
SpacingRead-write. The spacing between rows of a view.
TopLevelEntryCountRead-only. The number of top-level entries in a view.
UniversalID (NotesView)Read-only. The Universal ID of a view, which is a 32-character combination of letters and numbers that uniquely identifies a view across all replicas of…
ViewInheritedNameRead-only. The name of the view whose design a view inherits.

Methods

NameDescription
Clear (NotesView)Clears the full-text search filtering on a view.
CopyColumnCreates a new column by copying an existing one.
CreateColumnCreates a new column.
CreateViewNavCreates a view navigator for all entries in a view.
CreateViewNavFromCreates a view navigator for all entries in a view starting at a specified entry.
CreateViewNavFromCategoryCreates a view navigator for all entries under a specified category.
CreateViewNavFromChildrenCreates a view navigator for all the immediate children of a specified entry.
CreateViewNavFromDescendantsCreates a view navigator for all the descendants of a specified entry.
CreateViewNavMaxLevelCreates a view navigator for all entries in a view down to a specified level.
FTSearch (NotesView)Conducts a full-text search on all documents in a view and filters the view so it represents only those documents that match the full-text query. This…
FTSearchSortedConducts a full-text search on all documents in a view and filters the view so it represents only those documents that match the full-text query in…
GetAllDocumentsByKeyFinds documents based on their column values within a view. You create an array of keys, where each key corresponds to a value in a sorted column in the…
GetAllEntriesByKeyFinds view entries of type document based on their column values within a view. You create an array of keys, where each key corresponds to a value in a…
GetChild (NotesView)Given a document in a view, returns the first response to the document.
GetColumnReturns a specified column in a view.
GetDocumentByKeyFinds a document based on its column values within a view. You create an array of keys, where each key corresponds to a value in a sorted column in the…
GetEntryByKeyFinds a view entry of type document based on its column values within a view. You create an array of keys, where each key corresponds to a value in a…
GetFirstDocument (NotesView)Returns the first document in a view. This is the same document you see when you scroll to the beginning of the view in the Notes® user interface.
GetLastDocument (NotesView)Returns the last document in a view. This is the same document you see when you scroll to the end of the view in the Notes® user interface.
GetNextDocument (NotesView)Given a document in a view, returns the document immediately following it.
GetNextSibling (NotesView)Given a document in a view, returns the document immediately following the given document at the same level. If you send the method a main document, the…
GetNthDocument (NotesView)Given a number, returns the document at the given position in the top level of a view.
GetParentDocumentGiven a response document in a view, returns its parent document.
GetPrevDocument (NotesView)Given a document in a view, returns the document immediately preceding.
GetPrevSibling (NotesView)Given a document in a view, returns the document immediately preceding the given document at the same level. If you send the method a main document, the…
Lock (NotesView)Locks a view.
LockProvisional (NotesView)Locks an view provisionally.
Refresh (NotesView)Updates the view index to reflect any document changes since the NotesView object was created, or since the index was last refreshed.
Remove (NotesView)Permanently removes a view from a database.
RemoveColumnRemoves a column.
ResortViewResorts a view.
SetAliasesSets the aliases of a view.
UnLock (NotesView)Unlocks a view.

Examples

NameDescription
Examples: Aliases property (NotesView)This agent changes the existing aliases for a view.
Examples: AllEntries propertyThis script will get all the entries in the By Category view of the current database and put them in the Cat2 folder.
Examples: BackgroundColor propertyThis agent toggles the background color of a view among three colors.
Examples: Clear method (NotesView)This script performs a full-text search on a view. While the view is filtered with the results of the full-text search, the script puts all the documents…
Examples: ColumnCount property (NotesView)This script displays the number of columns in the By Category view of the current database.
Examples: ColumnNames propertyThis Visual Basic displays the names of all the columns in a view.
Examples: Created property (NotesView)This script gets the date that the Main View in WALNUT.NSF was created, and displays it in a dialog box. For example, the script might display 10/22/96…
Examples: EntryCount propertyThis view action displays the categories in a view if the entry count is not zero.
Examples: FTSearch method (NotesView)1. This script performs a full-text search for the word "benchmark" in a view in WALNUT.NSF. The variable j contains the number of documents that contain…
Examples: GetChild method (NotesView)This script gets the first response to the first document in the view, if there is one.
Examples: GetFirstDocument method (NotesView)Examples: GetFirstDocument method (NotesView - LotusScript) — HCL Domino Designer 14.5.1 reference.
Examples: GetLastDocument method (NotesView)This script gets the last document in the Main View of a discussion database. The first column in the Main View is sorted by date, in ascending order;…
Examples: GetNextDocument method (NotesView)1. This script gets the second document in a view.
Examples: GetNthDocument method (NotesView)This agent performs a full-text search on the Botanist's Delight folder in the current database. It then removes the second document in the collection…
Examples: GetPrevDocument method (NotesView)This script gets the second-to-last document in the All by Status & Project view of a database.
Examples: GetPrevSibling method (NotesView)This script finds the second-to-last main document in the Main View of a database.
Examples: IsConflict property (NotesView)This script indicates whether or not the Work Schedule calendar view in the current database is enabled for conflict checking.
Examples: IsDefaultView propertyThis agent toggles the default view attribute for a view.
Examples: IsFolder propertyThis script performs a full-text search on a database and puts the matching documents into a folder. It prompts the user for a word to search for, and…
Examples: IsHierarchical property (NotesView)This script indicates whether or not the By Category view in the current database shows response documents in a hierarchy.
Examples: IsPrivate property (NotesView)This example returns a list of the private views owned by the current user in the current database.
Examples: IsProhibitDesignRefresh propertyThis agent toggles whether a view design can be refreshed.
Examples: LastModified property (NotesView)This script gets the date that the By Author view in the current database was last modified, and puts it into modifyDate. For example, LastModified…
Examples: Lock method (NotesView)This view action attempts to lock the view named "Main Agent" for all members of the "Guys" group. Locking is successful if the view is not yet locked,…
Examples: LockHolders property (NotesView)This view action displays the lock holders for the view named "Main View."
Examples: LockProvisional method (NotesView)This view action attempts to lock the view named "Main View" for all members of the "Guys" group. Locking is successful if the view is not yet locked, or…
Examples: MarkAllRead method (NotesView)This agent displays the number of read documents in a view, marks all documents read, then displays the new number of read documents in the view.
Examples: MarkAllUnread method (NotesView)This agent displays the number of unread documents in a view, marks all documents unread, then displays the new number of unread documents in the view.
Examples: Name property (NotesView)This agent changes the name of a view. The existing name is used as the default value in the Inputbox$ statement.
Examples: ProtectReaders property (NotesView)This script toggles protection for the readers field.
Examples: Remove method (NotesView)This script removes the Sales Leads view from the current database.
Examples: SelectionFormula property (NotesView)1. This view action displays the selection formula for the current view.
Examples: UniversalID property (NotesView)This script gets the universal ID of the By Author view in the current database, and puts it into the variable ID.
Examples: UnLock method (NotesView)This view action attempts to unlock the view named "Main View." Unlocking is successful if the effective user is one of the lock holders.

Reference

NameDescription
CreateViewNavFromAllUnreadCreates a view navigator for all unread entries in a view.
GetAllReadEntriesThe method returns all entries associated with documents that have been read.
GetAllUnreadEntriesThe method returns all entries associated with documents that are unread.
MarkAllRead (NotesView)Marks all documents in the view as read.
MarkAllUnread (NotesView)Marks all documents in the view as unread.