Domino 9 und frühere Versionen > ND6: Entwicklung

Antwortdokument in einem Rahmen erzeugen

<< < (2/2)

ch:
Hallo,
bei mir lag es daran das das zu erstellende Dokument ein Antwortdokument ist.
Ich habe es über eine Aktion in der View per Script gelöst.
Hoffe das hilft.

lg claudia


Sub Click(Source As Button)
   
   Dim ws As New NotesUIWorkspace
   Dim session As New NotesSession
   Dim uiview As NotesUIView
   Dim s As New NotesSession
   Dim db As NotesDatabase
   Dim docP As NotesDocument
   Dim doc As NotesDocument
   Dim uidocAW As NotesUIDocument
   Set uiview = ws.CurrentView
   Set db =  session.CurrentDatabase
   Set docP = db.GetDocumentByID(uiview.CaretNoteID)
   
   Set doc = db.CreateDocument
   doc.form= "Formular Basic"
   Call doc.MakeResponse(docP)
   Call doc.Save(True,False)
   Call ws.SetTargetFrame("rdata")
   Set uidocAW = ws.EditDocument(False, doc, False,,False)
   
End Sub

Navigation

[0] Themen-Index

[*] Vorherige Sete

Zur normalen Ansicht wechseln