Examples: ParentDocumentUNID property
- This script displays a message.
Dim parentUnid As String parentUnid = doc.ParentDocumentUNID If ( parentUnid = "" ) Then Messagebox( "This document has no parent." ) Else Messagebox( "The parent's UNID is " + parentUNID ) End If
- This script uses ParentDocumentUNID and the GetDocumentByUNID
method in NotesDatabase to find the parent document of a response.
Dim response As NotesDocument Dim parent As NotesDocument '...set value of response... Set parent = db.GetDocumentByUNID _ ( response.ParentDocumentUNID )