data.refresh (Client API reference)
Asynchronously refreshes and optionally saves all the data of the form without reloading the page. The form data onload event occurs after the data is refreshed.
Syntax
formContext.data.refresh(save).then(successCallback, errorCallback);
Parameter
Name | Type | Required | Description |
---|---|---|---|
save |
Boolean | No | true if the data should be saved before it is refreshed, otherwise false. |
successCallback |
Function | No | A function to call when the operation succeeds. |
errorCallback |
Function | No | A function to call when the operation fails. |
Related articles
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по