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
processes
user.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();
}