- Code: Select all
var _siteRecord = foundset.getRecord(foundset.getSelectedIndex());
databaseManager.saveData(_siteRecord);
I inspected _siteRecord, it returns the record with the expected changes done by the user.
The save command returns true. However nothing changes in the database.
What could this be?
In another scenario, databaseManager.saveData(_record) returns false but .getFailedRecords() returns an empty array.
Why would this happen?
Cheer,
Maria