Skip to content Skip to sidebar Skip to footer

Crm Dialog Create Entity And Pass Data

Could anybody give any piece of advice, or code, or documentation link where I can found: how to bind 'entity creation' after dialog is closed with positive result, and change som

Solution 1:

To pass entity data to the dialog:

oUrl.get_query()['DialogId'] = dialogId;
oUrl.get_query()['ObjectId'] = entityId;
oUrl.get_query()['EntityName'] = objectTypeCode;

Use the callback to get the result:

ret_val.setCallbackReference(function (result) { //created record based on result });

Use can use the SDK to create records based on the result.

Post a Comment for "Crm Dialog Create Entity And Pass Data"