item.setProperty(id,value); var p = item.apply();
item.setProperty(id,value); var p = item.apply();
isDirty
attribute on the item to see whether there are any unsaved changes. You can try manually setting this using item.setAttribute("isDirty", "1");
.
Chris