Author Topic: Genesys Widget Chat  (Read 2201 times)

Offline GoodONE

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Genesys Widget Chat
« on: August 13, 2018, 07:38:52 PM »
Hello, forum,

I need your help on an issue we are currently facing, the Genesys Widget chat contains a configuration block used to specify some attributes when loading the page, that works fine, but now we need to update a part of the config, I mean after it has been loaded we want to update or reinitialize the whole configuration without reloading the page, Does somebody of you know how to do it?

We have tried some of the commands but no one of them seems to work.

[table]
[tr]
[td]window._genesys.widgets.bus.command('App.closeAll').done(function()
{
alert("AppCLOSED"); //Notify that the app has been closed
UpdateChatURL(); //Here we update the configuration

}).fail(function(){
alert("App was not closed");

});[/td]
[/tr]
[/table]

Regards.

Offline hsujdik

  • Hero Member
  • *****
  • Posts: 541
  • Karma: 30
Re: Genesys Widget Chat
« Reply #1 on: August 14, 2018, 12:58:29 AM »
As per API Reference guide:

[quote]
[b]configure[/b]

Internal use only. The main App plugin shares configuration settings to widgets using each widget’s configure command. [b]The configure command can only be called once at startup[/b]. Calling configure again after startup may result in unpredictable behavior.
[/quote]

[url=https://docs.genesys.com/Documentation/GWC/latest/WidgetsAPI/WebChatServiceCommands#scrollNav-2]https://docs.genesys.com/Documentation/GWC/latest/WidgetsAPI/WebChatServiceCommands#scrollNav-2[/url]

Offline Pitchex

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Genesys Widget Chat
« Reply #2 on: August 28, 2018, 07:12:41 AM »
The story in this post can be answered in search of the best.