Reinitialize messaging widget without page refresh

Hi,

For our web pages we have situation when we want to reinitialize messaging widget without refreshing the page.
The main idea is to have different deployment with different configuration (mainly it's a matter of separate digital flow, different queues etc).
Our web-page devs do:

  • Remove iframe with chat, remove window.Genesys object, clearing local data (cookies, local storage)
  • Run the initializing snippet again
    This causes errors during loading new instance, as in attached screenshot.

Any ideas how to proceed?

Paweł

Hi Pawel - for the purpose of context switching, we would recommend to simply update conversation with new pair of Custom Attributes, so that Flow can react upon incoming Participant Data and orchestrate routing logic accordingly. Way easier than trying to force snippet at real-time, not sure if that can even work.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.