Domino 9 und frühere Versionen > ND6: Entwicklung

Dokument öffnen

(1/1)

RvM:
Ich will  über eine AAktion ein bestimmtes Dokument öffnen und habe folgendes Script reingepackt:
Dim session As New NotesSession
   Dim uiws As New NotesUIWorkspace
   Dim db As NotesDatabase
   Dim doc As NotesDocument
   
   Set db = session.CurrentDatabase
   Set doc = db.GetDocumentByUNID("637258F7A4CB47ABC125722C0036380D")
   Set uidoc = uiws.EditDocument(True,doc)

Leider öffnet sich das Dokument nicht.
Was habe ich vergessen?

klaussal:
Die Fehlerbehandlung, falls das Doc nicht gefunden wird.

Navigation

[0] Themen-Index

Zur normalen Ansicht wechseln