copyItemToDocument (NotesItem - JavaScript™)
Copies an item to a specified document.
Defined in
NotesItemSyntax
copyItemToDocument(doc:NotesDocument) : NotesItem
copyItemToDocument(doc:NotesDocument, newname:string) : NotesItem
Parameter | Description |
---|---|
doc |
The document on which to create the item. Cannot be null. |
newname |
The name of the new item. Specify an empty string ("") if you want to keep the name of the original item. |
Return value | Description |
---|---|
NotesItem |
The new item. |