Domino 9 und frühere Versionen > Entwicklung

Neues Uidocument als Antwortdokument???

(1/4) > >>

OCS:
hi leute,
wer mein letztes problem kennt, weiss warum die frage!
gibt es beim uidoc auch die möglichkeit, dieses als antwortdokument zu erstellen wie unten mit einem notesdokument?


Syntax beim NotesDocument:
-----------------------------------------------------
Set aktivdoc = New notesdocument (db)
Call aktivdoc.MakeResponse( cpdoc )
aktivdoc.Form = "aktion"
-----------------------------------------------------

Gruß Björn

Semeaphoros:
Set notesUIDocument = notesUIWorkspace.ComposeDocument( [ server$ [, file$ [, form$ [, windowWidth# [, windowHeight# [, returnNotesUIDocument]]]]]] )
Set Activedoc=notesUIDoc.Document
Call aktivdoc.MakeResponse( cpdoc )
aktivdoc.Form = "aktion"

OCS:

--- Zitat von: Semeaphoros am 23.10.03 - 09:38:19 ---Set notesUIDocument = notesUIWorkspace.ComposeDocument( [ server$ [, file$ [, form$ [, windowWidth# [, windowHeight# [, returnNotesUIDocument]]]]]] )
Set Activedoc=notesUIDoc.Document
Call aktivdoc.MakeResponse( cpdoc )
aktivdoc.Form = "aktion"


--- Ende Zitat ---

danke, aber bis hierhin kam ich auch schon, die funktion "MakeResponse"
gibts bei uidoc nicht!

Semeaphoros:
Dann studier den Code nochmal.

Set activedoc=NotesUIDoc.Document

das ist vom Typ NotesDocument, Zugriff auf das Backend-Dokument durch das UIDocument

koehlerbv:
Sicherheitshalber nach dem MakeResponse ein NotesDocument.Save und ein NotesUIDocument.Reload - nicht, daß später das UIDoc das Backend-Doc überschreibt und $Ref von uns geht ...

Bernhard

Navigation

[0] Themen-Index

[#] Nächste Seite

Zur normalen Ansicht wechseln