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 :
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,331 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

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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 73 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 42 Most Valuable Professional

#3
Scott Jackson UK Profile Picture

Scott Jackson UK 22

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans