I'd like to force saving data of NotesXSPDocument to prevent creating conflict document in case users are opening the same document. For NotesDocument, there is a option in NotesDocument.save method but not in NotesXSPDocument.save.
For instance, when clicking 'save' button, I think the next codes meets my requirement. However I have lots of custom control and fields, it is not a smart solution... Is there any other good solution?
var doc:NotesDocument = document1.getDocument();
doc.replaceItemValue("Field1", data1);
doc.replaceItemValue("Field2", data2);
doc.replaceItemValue("Field3", data3);
.....
doc.save(true);
concurrencyMode="force"
on the data source help? – Per Henrik Lausten