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
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.