-
Notifications
You must be signed in to change notification settings - Fork 26
MobileCRM.UI.HomeForm.onSyncFinished
Maros316 edited this page Aug 12, 2020
·
9 revisions
Argument | Type | Description |
---|---|---|
handler | function(homeForm) | A function which will be called when the synchronization finished event occurs with current instance of the MobileCRM.UI.HomeForm as parameter. |
scope | Object | A scope in which the handler should be called. |
This example demonstrates how to handle the synchronization finished event from the home form replacement iFrame.
MobileCRM.UI.HomeForm.onSyncFinished(function (homeForm) {
/// <param name="homeForm" type="MobileCRM.UI.HomeForm"/>
if (homeForm.lastSyncResult.newCustomizationReady && !homeForm.lastSyncResult.customizationDownloaded) {
MobileCRM.bridge.alert("Application update is available");
}
}, null);