I have attached a success callback like so to Xrm.Page.data.save():
Xrm.Page.data.save().then(function () {
debugger;
console.log('success');
}, function() {
debugger;
console.log('error')
})
This works fine on other entity forms but for one of my custom entites for whatever reason the success/error callbacks are never triggered. From looking at the returned promise from Xrm.Page.data.save() the state is stuck in pending whereas other entity forms this would be resolved and the then() function would be triggered.
Anyone else experiencing this issue?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156