Webex desktop loading of custom widgets
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2024 09:57 AM
I have developed a custom widget which I load on the Webex desktop. While the desktop loads I have seen that the component is added to the DOM twice and removed once, so on the resulting document it only appears once but it was actually mounted twice. My component implements logic when mounted, so it would be very helpful to understand how the page is loaded so that my component's initial logic is not triggered twice. Or perhaps I need to use another lifecycle event than mounted? Thanks!
- Labels:
-
Webex Developer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2024 01:46 AM
@alejandra-moreno there is a good Blog post about using custom Contact Center widgets and the JS SDK here https://developer.webex.com/blog/leveraging-the-webex-contact-center-agent-desktop-sdk-in-your-custom-widgets , it might help you with implementation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2024 04:25 AM
Hi Janos,
Many thanks for your reply. I don't use the JS SDK as I don't need any agent data. What I search is to understand how does the desktop loads custom widgets on the page.
