Examples: OutlineReload method
- This agent reloads the myoutline outline in the currentyear.nsf
file in the plans directory.
Sub Initialize Dim workspace As New NotesUIWorkspace Call workspace.OutlineReload("myoutline","plans\currentyear") End Sub
- This form action saves the current document in the current database,
which contains a list of items to be used in the myindex outline.
It then refreshes the myindex outline so that the new items are displayed.
Sub Click(Source As Button) Dim workspace As New NotesUIWorkspace Dim session As New NotesSession Dim db As NotesDatabase Set db = session.CurrentDatabase Dim uidoc As NotesUIDocument Set uidoc = workspace.CurrentDocument Call uidoc.Save ' refresh current view to display the new document Call workspace.OutlineReload("myindex","") End Sub