There was an error while loading. Please reload this page.
Asynchronously loads the CRM entity properties.
This example demonstrates how to load the account entity with given id.
function getAccountData(accountId) { /// <param name="account" type="MobileCRM.Reference"/>; MobileCRM.DynamicEntity.loadById("account", accountId, function (entity) { /// <param name="entity" type="MobileCRM.DynamicEntity"/>; // "entity" argument contains the MobileCRM.DynamicEntity object MobileCRM.bridge.alert(JSON.stringify(entity.properties)); }, function (error) { MobileCRM.bridge.alert("An error occurred: " + error); }, null); }
Links: