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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer Service forum

In CIF, clicktoact API does not return response to specific callback function

(1) ShareShare
ReportReport
Posted on by 15

Hi 

I am trying to perform an onclick action from Dynamics 365 Customer Service Hub to my webpage that is loaded in Channel Integration Framework panel. 

I have done the following but my callback function is NOT getting invoked from Dynamics. Can someone tell me what I am doing wrong here? If you need more info, will be glad to share. 

Onload of the page an event (“onclicktoact”) is triggered to dynamics.

 

This is my code

var successCallback = function(resp){

                console.log("succ "+JSON.stringify(resp));

                }

Microsoft.CIFramework.addHandler("onclicktoact", successCallback);

However successCallback is not getting invoked at all. 

 

This is what i see in my console logs:

CIF Telemetry - Number of Events Sent: 1

Error : Uncaught (in promise) Map(2) {"message" => "Timeout occurred as no response was received from listener window", "c" => undefined}

Categories:
I have the same question (0)
  • cc-architect Profile Picture
    15 on at

    Hi all, can someone provide some assistance or guidance here? Will really appreciate it!

  • Javierpv Profile Picture
    225 on at

    Hi cc-architect, did you resolve this error? i am in same situation.

    Thanks.

  • BPC Profile Picture
    55 on at

    Hello, Were you able to resolve this issue?

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 Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

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

Leaderboard > Customer Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans