PureConnect

Discussion Thread View

Sending custom values from a WebChat Widget using Extensions

  • 1.  Sending custom values from a WebChat Widget using Extensions

    Posted 11 days ago
    Edited by Umair Khan 9 days ago
    hi,

    I have been trying to send widget form parameters to PureConnect after following the documentation. The easiest way i could find is to post form values to Chat Notes as the link suggests: - https://help.genesys.com/pureconnect/mergedprojects/wh_basl_connect/desktop/pureconnect_widget_extensions.htm

    WebChatService.setChatNotes

    This function takes in an object that defines notes that should be set on a PureConnect chat.  This function must be called prior to a chat being started.

    Example:

    service.command("WebChatService.setChatNotes", {
        notes: "notes"
    });

    As the function description mentions, it needs to be called before the chat is being started. how can i set notes with the selected values from the web chat form? Intention is to send Member ID entered on the text box in the web chat form to the Interaction Notes section in Interaction Connect.

    Here is how i was trying to do: -

    Can someone assist here? If this is the right approach to send custom form values to Interaction connect?

    Thanks
    //UK
    #Implementation

    ------------------------------
    Umair Khan
    ------------------------------