web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

CIF's client side events not triggered as per the documentation

(0) ShareShare
ReportReport
Posted on by 5

We have built a custom integration using the CIF framework. On the CIF's side, everything works as expected (meaning that I am able to search records, add phone activities, etc). However, on the client side, none of the client side events is ever triggered. I am able to see in the Chrome's console logs that the event handlers are set the the CIF based page loads - below is the code snippet where the event handle is is attached 

Microsoft.CIFramework.addHandler("onpagenavigate", pageNavigateHandler);
console.log("Added pageNavigateHandler to the panel");

When the user navigates from one page to another (i.e from one contact to another one) the pageNavigateHandler handler is never triggered. If I review the Chrome's logs, I am able to see 2 errors that are keep poping up all the time:

The first kind of error is the one below

10:13:56.411 /%7b637241646380017147%7d/webresources/CRMClients/msdyn_internal_ci_library.js:1 Uncaught TypeError: Failed to construct 'URL': Invalid URL
at /%7b637241646380017147%7d/webresources/CRMClients/msdyn_internal_ci_library.js:1
at Array.find (<anonymous>)
at t.postMsgWrapper.processMessage (/%7b637241646380017147%7d/webresources/CRMClients/msdyn_internal_ci_library.js:1)

The second kind of error is: 

Uncaught in promise : occurred as no response was received from listener window

However the event handler function does nothing else than to print a confimation message to the console so it cannot throw any errors.

Has anyone else faced a similar issue ?

I have the same question (0)
  • CristianB Profile Picture
    5 on at

    There one thing I would like to add - in the case of the onclicktoact handler, the error I obtain is the one below (also the event handler is never called):

    5 /%7b637241646380017147%7d/webresources/CRMClients/msdyn_internal_ci_library.js:1 Uncaught (in promise) Map(2)[[Entries]]0: {"message" => undefined}key: "message"value: undefined1: {"n" => "onclicktoact - raiseEvent"}key: "n"value: "onclicktoact - raiseEvent"size: (...)__proto__: Map

  • Fabio Branco Profile Picture
    on at

    Hello CristianB,

    This error migth require aditional research, and troubleshoot.

    If you need futher assistance, please log a support ticket. We will be happy to assist you on this concern

    Thank you

  • BPC Profile Picture
    55 on at

    Hello, Were you able to resolve this issue?

  • Dynamics 365 Integration Framework community Profile Picture
    5 on at

    Hi, were you able to resolve this issue? I am also facing. Please help.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Pallavi Phade Profile Picture

Pallavi Phade 98

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 60 Super User 2025 Season 2

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 43 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans