Legacy Dev Forum Posts

 View Only

Sign Up

Web Message Custom attributes

  • 1.  Web Message Custom attributes

    Posted 06-05-2025 19:26

    usuresh | 2024-10-04 02:55:06 UTC | #1

    Dear Team, I'm trying to do a web messaging with form and sending custom attributes , everything is fine with the first conversation. The problem is when the first conversation is ended refresh the page and begin a new conversation with "Start New" button, this conversation didn't receive custom attributes. So in this way I can't send the custom attributes. Note : Without refresh the page second conversation also works fine.

    Here is my sample code snippet:

    function toggleMessenger() { Genesys( 'command', 'Messenger.open', {}, function (o) { closeLauncher() Genesys('command', 'Database.set', { messaging: { customAttributes: { FirstName: document.getElementById('fname').value, LastName: document.getElementById('lname').value, Subject: document.getElementById('subject').value }, markdown: true }, }) }, function (o) { Genesys('command', 'Messenger.close') } ) }


    system | 2024-11-04 02:55:52 UTC | #2

    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: 29695