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 :
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?

I have the same question (0)
  • LeoAlt Profile Picture
    16,341 Moderator on at

    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

  • Suggested answer
    utmishra Profile Picture
    5 on at

    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!

  • Daniel Bergsten Profile Picture
    110 on at

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

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 25 Most Valuable Professional

#3
11manish Profile Picture

11manish 21 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans