Replaces all items of the specified name with one new item, which is assigned the specified value. If the document does not contain an item with the specified name, this method creates a new item and adds it to the document.
Defined in
Document
Syntax
public Item replaceItemValue(String name, Object value) throws NotesException
Parameters
String name
Item
To keep the changes, you must call save after calling replaceItemValue.
Language cross-reference
ReplaceItemValue method in LotusScript NotesDocument class
@SetField function in formula language
@SetDocField function in formula language
FIELD keyword in formula language
Example See Also