web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

JavaScript Xrm.Page.data.refresh(true) give warning when save

(1) ShareShare
ReportReport
Posted on by 504

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

Saving in Progress

Please wait while saving is completed

Error code: 0x83215603Session Id: a1b775ed-ba0c-466b-9866-71aa94726e86Activity Id: 9b01d3b7-4f91-488c-b541-978620e493bdTime: Wed Jul 29 2020 23:48:59 GMT-0400 (Eastern Daylight Time)

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

I have the same question (0)
  • cloflyMao Profile Picture
    25,210 on at

    Hi Ddee,

    Try to switch to the recommended function to refresh form.

    formContext.data.refresh(save).then(successCallback, errorCallback);

    https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/formcontext-data/refresh

    In addition, please also refer to the thread:

    https://community.dynamics.com/365/unified-interface/f/unified-interface-forum/378396/saving-in-progress-dialog-on-jscript-save

    Regards,

    Clofly

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 108 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans