Open Existing CRM Record Using Java Script

Open Existing CRM Record Using Script

To Open the exisiting CRM Record , pass the Entity Name and Record guid to the below function , it will open the specified record.

//Open an existing Custom record
function OpenExistingEntityRecord(EntityName, RecordGuid) {
Xrm.Utility.openEntityForm(EntityName, RecordGuid);
}

Call the above funciion is as folows.

OpenExistingEntityRecord(“account”,Guid);

You may call this function any event in the CRM

Regards,

Leave a comment