Hi,
I am using CRM 2016 Auto Complete. I need to know if there is a way to capture the id or any other value from the fields array of the selected record. C
var userInputLowerCase = userInput.toLowerCase();
for (i = 0; i < accounts.length; i++) {
if (userInputLowerCase === accounts[i].name.substring(0, userInputLowerCase.length).toLowerCase()) {
resultSet.results.push({
id: i,
fields: [accounts[i].name]
});
}
if (resultSet.results.length >= 10) break;
}
https://msdn.microsoft.com/en-gb/library/mt607648(v=crm.8)
Thanks,
Ravi
*This post is locked for comments