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 )
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.