200
Views
0
Helpful
0
Replies
Javascript Finesse API reload user.getDialogs Empty value
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 12:20 AM
I have a problem with user.getDialogs
Javascript Finesse API. When I reload my browser, user.getDialogs
it does not render, and I do not get data from the dialog. I'm using the legacy code from git LearnignSampgeGadget. I'm sharing this step here.
- User calls
- Agent receives and answers the call
handleUserLoad
processesuser.getDialogs
gets the data- Agent refreshes the page
user.getDialogs
does not get the data- and
handleNewDialog
does not process
handleUserLoad = function (userevent) {
// Get an instance of the dialogs collection and register handlers for dialog additions and
// removals
dialogs = user.getDialogs( {
onCollectionAdd : handleNewDialog,
onCollectionDelete : handleEndDialog
});
render();
}
Labels:
- Labels:
-
Cisco Software
0 Replies 0
