Das Notes Forum
Domino 9 und frühere Versionen => ND8: Entwicklung => Thema gestartet von: skywook am 06.10.14 - 13:45:14
-
Hallo,
kopiert CopyItemToDocument den Anhang in einem RichtextFeld auch mit?
Oder muss ich den Anhang lösen und dann ins neue Item anhängen?
Für einen Tipp wäre ich dankbar.
-
Google:
Usage
When you call this method using a NotesRichTextItem object, file attachments, embedded objects, and object links that are contained within the rich text item are not copied to the destination document.
-
Howdy,
ja, wird mitkopiert. Allerdings nur, wenn du das Item in ein anderes Dokument kopierst. Sonst gibt es Fehler. Siehe diesen Beitrag (auch die Antworten, insbesondere die letzte): http://atnotes.de/index.php/topic,51945.0.html
Gruß,
Mitch
-
Google:
Usage
When you call this method using a NotesRichTextItem object, file attachments, embedded objects, and object links that are contained within the rich text item are not copied to the destination document.
Interessant. Also der kopiert mir Anhänge und eingebette Bilder wunderbar mit. Die Notes-Hilfe (9) zu CopyItemToDocument erwähnt die Einschränkung nicht macht es im Beispiel mit dem Body-Feld einer Mail...