Domino 9 und frühere Versionen > ND8: Entwicklung

CopyItemToDocument

(1/1)

skywook:
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.

klaussal:
Google:


--- Zitat ---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.


--- Ende Zitat ---

Mitch:
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

Mitch:

--- Zitat von: klauss am 06.10.14 - 13:52:31 ---Google:


--- Zitat ---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.


--- Ende Zitat ---

--- Ende Zitat ---

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...

Navigation

[0] Themen-Index

Zur normalen Ansicht wechseln