StampAllMulti (NotesDocumentCollection - LotusScript®)

Replaces the values of specified items in all documents in a document collection.

Note: This method is new with Release 8.5.

Defined in

NotesDocumentCollection

Syntax

Call notesDocumentCollection .StampAllMulti( document )

Parameters

document

NotesDocument. The document contains multiple items, each with values appropriate for the item type.

Usage

If an item does not exist, it is created. If the item is of a different data type, the existing item will be deleted and a new item of the new data type created.

The item values are immediately written to the documents on the server. You do not have to use the Save method of NotesDocument after StampAllMulti. However, any documents modified by your script must be saved before calling StampAllMulti.

This method does not modify existing NotesDocument objects. Documents must be retrieved again to see the changes.

If you do not have the proper access to modify one or more of the documents in the document collection, this method will return ERR_NOTES_STAMP_FAILED. Only those documents you are able to modify will be stamped.