Skip to main content
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested answer

Embed CTI HTML/Javascript inside Customer Service pages

(0) ShareShare
ReportReport
Posted on by 5

Hi,

I am planning to embed a CTI which loads via HTML/Javascript in an iframe and floats on the left/right side of the page. I can see that there are options like creating Web Resources inside Solutions. I have already uploaded the code as a web resource.

How can I make it load on all pages inside Customer Service pages? Note that it may need access to the Contact entity and Web API as well.

Additionally, can we control the "Click to Call" action to use this third party CTI, instead of using the tel: deep link?

  • Daniel Bergsten Profile Picture
    110 on at
    RE: Embed CTI HTML/Javascript inside Customer Service pages

    Did you resolve this issue? Facing similar problem with Widget that won't appear i UI.

  • Suggested answer
    utmishra Profile Picture
    5 on at
    RE: Embed CTI HTML/Javascript inside Customer Service pages

    Hi!

    Thanks for the reply. I found another way to get this done, which is more suitable for my use case, i.e., Channel Integration Framework (v2)

    I am using Channel Integration Framework. However, I am still facing an issue. I have added my widget URL and checking the Network tab, I see that it loads perfectly, however, the iframe always stays in hidden mode inside the Side panel. The side-panel itself is always hidden.

    Please tell me how to enable it.

    Thanks!

  • LeoAlt Profile Picture
    16,331 Moderator on at
    RE: Embed CTI HTML/Javascript inside Customer Service pages

    Hi Partner,

    1.If you want to load the web resource JS on the form, you should add it into form onload event.

    https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/events-forms-grids

    But it may be tricky that you need to add this JS recourse in each form you need to use.

    2.If you want to call web api in D365, here are some samples.

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/webapi/web-api-functions-actions-sample-client-side-javascript

    3.If the CTI JS code contains the function of "Click to Call", it will be available.

    Hope it helps.

    Best Regards,

    Leo

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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 51 Most Valuable Professional

#2
Ramesh Kumar Profile Picture

Ramesh Kumar 42

#3
David Shaw_UK Profile Picture

David Shaw_UK 27

Featured topics

Product updates

Dynamics 365 release plans