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.
Note
File columns aren't currently refreshed.
Syntax
formContext.data.refresh(save).then(successCallback, errorCallback);
Parameter
Name | Type | Required | Description |
---|---|---|---|
save |
Boolean | No | true to save the data before refreshing, otherwise false . |
successCallback |
Function | No | A function to call when the operation succeeds. |
errorCallback |
Function | No | A function to call when the operation fails. |