Hey I'm saving a new record on client side and I need to know if operation went well. after googling I got that code :
Xrm.Page.data.save(saveOptions).then(successCallback, errorCallback) or this code -
Xrm.Page.data.refresh(save).then(successCallback, errorCallback);
But both of lines referred to updated entities, I need to get feedback that the new record saved successfully.
Any Idea?
*This post is locked for comments
Shidin Nice Idea! :) going to test it now.
Register your event on change of the 'Modified On' date field.
So, once the record is saved successfully, as part of the success postback, the modifiedon field gets filled in.
In your scenario, initially the modifiedon field will be blank, once the save is successful, it will be populated with a value.
Let me know if you have further queries.
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
52
Victor Onyebuchi
6