Legacy Dev Forum Posts

 View Only

Sign Up

Reinitialize messaging widget without page refresh

  • 1.  Reinitialize messaging widget without page refresh

    Posted 06-05-2025 18:37

    DRAGAN_Pawel | 2024-02-27 09:30:57 UTC | #1

    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ł


    Angelo_Cicchitto | 2024-02-27 10:41:58 UTC | #2

    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.


    system | 2024-03-28 10:42:07 UTC | #3

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


    This post was migrated from the old Developer Forum.

    ref: 24886