Skip to main content

Notifications

Service | Customer Service, Contact Center, Fie...
Unanswered

Unable to search and open result using "searchAndOpenRecords" methods.

Posted on by 5

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.

  • Henry J. Profile Picture
    Henry J. 5,235 on at
    RE: Unable to search and open result using "searchAndOpenRecords" methods.

    Moving the thread to the Customer Service forum.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,902 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,297 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans