Domino 9 und frühere Versionen > ND6: Entwicklung

GetDocumentByID funktioniert nicht

(1/2) > >>

TomLudwig:
Kann mir jemand sagen warum ich von der Antwort (doc) nicht das Hauptdokument bekomme?

Set item = doc.GetFirstItem("$REF")      
Set docBook = db.GetDocumentByID(item.Text)

botschi:
Moin,

schreibe $REF doch auf ne Variable...

Semeaphoros:
probiers mal mit db.GetDocumentByUNID

TomLudwig:
sorry, wenn ich a weng langsam bin....

aber wie auf eine variable... was meinst du?

Glombi:
Besser, weil sauberer ist

Set docBook = db.GetDocumentByUNID(doc.ParentDocumentUNID )

Andreas

Navigation

[0] Themen-Index

[#] Nächste Seite

Zur normalen Ansicht wechseln