Skip to content

MobileCRM.UI.EntityList.requestEditedEntities

rescocrm edited this page May 15, 2023 · 8 revisions

[v10.0] Asynchronously gets the list of entities that were changed on the list.

Arguments

Argument Type Description
callback function(DynamicEntity[]) Callback obtaining an array of dynamic entities that were changed on the list.
errorCallback function(errorMsg) The errorCallback which is called asynchronously in case of error.
scope Object The scope for callbacks.

This example demonstrates how to obtain the list of entities edited on the entity list.

MobileCRM.UI.EntityList.requestEditedEntities(function (editedEntities) {
	/// <param name='editedEntities' type='Array'>Array of edited DynamicEntities.<param/>
	var editedEntitiesRecord = [];
	for (var i in editedEntities) {
		editedEntitiesRecord.push(editedEntities[i]);
	}
	MobileCRM.bridge.alert("Edited entities : " + editedEntitiesRecord.toString());
}, MobileCRM.bridge.alert, null);
Clone this wiki locally