Examples: CreateViewNavFromCategory method

This script creates a view navigator beginning with the category Burgundy and displays the universal ID of the first document.

Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim nav As NotesViewNavigator
Dim entry As NotesViewEntry
Set db = session.CurrentDatabase
Set view = db.GetView("By Category")
Set nav = view.CreateViewNavFromCategory("Burgundy")
Set entry = nav.GetFirstDocument
Messagebox "Universal ID: " & entry.UniversalID