Hi,
I created an html button, I do simple calculations and want to save and refresh the form so the user does not have to?
I've tried.
formContext.data.entity.save("save");
and
Xrm.Page.data.entity.save();
and
//setTieout(function () {
//Xrm.Page.data.save().then(closeemailform, errorCallback);
//}, 6000);
I even tried this as it was the only thing that worked on a CRM form, but not in the html form.
Xrm.Page.data.refresh(true);
Any ideas?
*This post is locked for comments