Hi,
we have VOIP in our company.
I want to get the contact number when the customer called me and my system started ringing and open the desired customer page in Microsoft CRM >> accounts section.
my problem is that I can't open a customer account page with the contact number I have to pass GUID to function.
I have written the below code but it needs GUID to open the page how can I open the customer page with the contact number.
var entityFormOptions = {};
entityFormOptions["entityName"] = "account";
entityFormOptions["entityId"] = "0A4A1EE9-C987-EB11-AC3F-000C29CAF1DF"; //MY PROBLEM IS HERE HOW CAN I USE CONTACT NUMBER ISTEAD OF GUID
Xrm.Navigation.openForm(entityFormOptions).then(
function (success) {
console.log(success);
},
function (error) {
console.log(error);
});