Legacy Dev Forum Posts

 View Only

Sign Up

Web Messenger Show on Business Rules

  • 1.  Web Messenger Show on Business Rules

    Posted 06-05-2025 18:35

    Anton_Vroon | 2021-12-30 00:47:27 UTC | #1

    Hi

    I'm not a webdev expert, but the resources I have to work with in this company is limited, so I'm giving it a go. So please bear with with me.

    I'm having trouble getting the messenger launcher or messenger app to show using the SDK commands. If I set the deployment to always show, it works fine (except for Chrome, where i am getting a CSP ""frame-ancestors 'self'" error)

    If I set it to only show on Business logic, or Never show. And then copy and paste the example provided on Genesys Developer and press the button, nothing happens. Nothing new shows up on the console with debug turned on when the button is pressed either.

    Code Snippet:

    If someone can please point me in the right direction that would be greatly appreciated.

    Ultimately I just want to show the launcher on some event, Customer spent x time on the page, customer input text on a form etc. But starting with the examples provided which uses the Messenger.Show as a starting point.


    Anton_Vroon | 2021-12-30 00:48:46 UTC | #2

    NVM found it.

    The example code was missing () at end of the onclick call. Should be onclick="toggleMessenger()" Was away running after that.

    Can we please get the website updated?


    Angelo_Cicchitto | 2022-01-10 09:08:28 UTC | #3

    Hello Anton - thanks for catching this, apologies for the missing parenthesis, we're fixing this in Example page.


    system | 2022-02-10 09:09:11 UTC | #4

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


    This post was migrated from the old Developer Forum.

    ref: 13085