Skip to content

MobileCRM.UI.HomeForm.closeHomeItemAsync

rescocrm edited this page May 15, 2023 · 7 revisions

[v8.0] Close the specified HomeItem.

Arguments

Argument Type Description
name String The name of the HomeItem to be opened. It can be either the entity logical name (e.g. "contact"), custom name as defined in Woodford or one of following special names: "@Dashboard", "@Map", "@activity", "@Tourplan","@CallImport","@Setup","@About".
errorCallback function(errorMsg) The errorCallback which is called in case of error.
scope Object The scope for callbacks.

This example demonstrates how to close Dashboard item from the home form replacement iFrame.

MobileCRM.UI.HomeForm.closeHomeItemAsync("@Dashboard", MobileCRM.bridge.alert, null);
Clone this wiki locally