Hi
we are trying the following:
when changing some values and hit save, the fields should be disabled after the save. If I call the function to disable the fields in OnSave, the save happens after disabling the fields. This does not work, because the value of these fields is not being saved. When using setSubmitMode, all these fields are part of the save context, this makes plugins and workflows on this entity trigger unwanted.
I've tried the AddOnSave function, but again the save happens after this callback.
Calling the Xrm.Page.data.entity.save().then(successCallback, errorCallback) from OnSave, did not work either, because this creates a loop.
Does anyone have other suggestions?
Grtz
*This post is locked for comments
I have the same question (0)