Das Notes Forum
Domino 9 und frühere Versionen => ND6: Entwicklung => Thema gestartet von: Alexis am 23.02.05 - 11:08:28
-
Hallo Forum,
mit folgendem Script kann ich einen Link ins Parent-Dokument eintragen. Nun möchte ich die bisherigen Links und Attachments im Feld "Attachments" des Parent-Dokumentes aber erhalten, so dass der Link nur drangehängt wird.
Set rtitem = New NotesRichTextItem (parentdoc,"Attachments")
Call rtitem.AppendText("Link to ... --> ")
Call rtitem.AppendDocLink(source.Document, "")
Wie stelle ich das an?
Alexis
-
Ich würde es so machen:
Set rtitem = parentdoc.GetFirstItem("Attachments")
if rtitem is nothing then
Set rtitem = New NotesRichTextItem (parentdoc,"Attachments")
End if
Call rtitem.AppendText("Link to ... --> ")
Call rtitem.AppendDocLink(source.Document, "")
Andreas
-
Hallo Andreas,
vielen Dank, klappt prima!
Was würde ich nur ohne Euch Know How - Träger machen? :-*
Alexis