
Hi all,
I am trying to refresh the form after save by using the function below on Form properties - Form - Save event
function FormRefresh() {
Xrm.Page.data.refresh(true);
}
After I did this, when clicked Save button, there is a popup warning but the new record is CREATED
Also, when I deleted this function FormRefresh() then publish and try to create new record... the warning still showing
Please advise how can I get rid of this warning box.
Thanks
Ddee
Hi Ddee,
Try to switch to the recommended function to refresh form.
formContext.data.refresh(save).then(successCallback, errorCallback);
In addition, please also refer to the thread:
Regards,
Clofly