
Hi Team,
I have a issues related to search and open a customer details using channel integration framework.
Please see below java script code.
// The org-URL is my dynamics 365 URL, That I had putted in the place of "org-URL"
<script type="text/javascript" src="<org-URL>/Widget/msdyn_ciLibrary.js" data-crmurl="<ORG-URL>" data-cifid="CIFMainLibrary">
</script>
function singlematch() {
// Retrieve Contact entity record
// Change searchonly parameter to true, if you do not want to open the search results page
console.log('ms=', Microsoft);
if (Microsoft && Microsoft.CIFramework) {
Microsoft.CIFramework.searchAndOpenRecords('contact', "?$filter=firstname eq 'Test'", false).then(
function success(result) {
res = JSON.parse(result);
console.log(`The caller name is: ${res[0].fullname}, Telephone Number: ${res[0].telephone1}`);
// perform operations on record retrieval and opening
},
function (error) {
console.log(error);
// handle error conditions
}
);
}
}
All the time its return us error message "{"message":"Timeout occurred as no response was received from listener window"}".
I unable to get and open contact record.
Please help me.
Thanks in advance.