Skip to main content

Notifications

Announcements

No record found.

Customer Service forum

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

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:
  • BPC Profile Picture
    BPC 55 on at
    RE: In CIF, clicktoact API does not return response to specific callback function

    Hello, Were you able to resolve this issue?

  • Javierpv Profile Picture
    Javierpv 225 on at
    RE: In CIF, clicktoact API does not return response to specific callback function

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

    Thanks.

  • cc-architect Profile Picture
    cc-architect 15 on at
    RE: In CIF, clicktoact API does not return response to specific callback function

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

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans