If I get the NotesDocument object from the datasource, change some fields and then save the datasource, without saving the NotesDocument directly, the changes are not saved.
For example:
var doc:NotesDocument = document1.getDocument(true);
doc.replaceItemValue("TestField", "Test");
I save the datasource with the simple action and the field "TestField" in the document is empty.
How can I update datasource with the changes in the background document?