Hello,
We have deployed chat using Widget - Version 2. The below custom attributes have been configured within the script and the script variables so they can display on the Agents screen. However, these custom variables are not showing up in architect so I am posting here to see if someone can provide clarity as to why they are not working.
{
id: 'cx_webchat_form_firstname',
name: 'firstname',
maxlength: '100',
placeholder: 'Required',
label: 'First Name'
},
{
id: 'cx_webchat_form_lastname',
name: 'lastname',
maxlength: '100',
placeholder: 'Required',
label: 'Last Name'
},
{
id: 'cx_webchat_form_accountnumber',
name: 'accountnumber',
maxlength: '100',
placeholder: 'Required',
label: 'Account Number',
value: '<%=repId%>'
},
{
id: 'cx_webchat_form_district',
name: 'district',
maxlength: '100',
placeholder: 'Required',
label: 'District',
value: '<%=district%>'
},
{
id: 'cx_webchat_form_email',
name: 'email',
maxlength: '100',
placeholder: 'Required',
label: 'Email'
},
{
id: 'cx_webchat_form_reason',
name: 'subject',
maxlength: '100',
placeholder: 'Required',
label: 'Reason for chatting'
}
Architect Error:
I do see them come through on the conversation ID API.
"attributes": {
-
"context.email": "EMAIL ADDRESS HERE",*
-
"firstname": "FIRSTNAME HERE",*
-
"Email": "state.email",*
-
"displayName": "state.firstName + \" \" + state.lastName",*
-
"subject": "",*
-
"context.accountnumber": "ACCOUNT NUMBER HERE",*
-
"Language": "en-us",*
-
"email": "",*
-
"context.district": "DISTRICT NUMBER HERE",*
-
"context._genesys_OS": "Windows",*
-
"customerLanguage": "state.customerLanguage",*
-
"accountnumber": "",*
-
"context._genesys_browser": "Chrome",*
-
"context._genesys_referrer": "REFERRER PAGE HERE",*
-
"context.reason": "REASON HERE",*
-
"context._genesys_source": "web",*
-
"accountNumber": "state.accountNumber",*
-
"context.genesys.legacyRoutingTargetQueueAddress": "",*
-
"lastname": "LAST NAME HERE",*
-
"context.firstName": "FIRST NAME HERE",*
-
"scriptId": "SCRIPT ID HERE",*
-
"context.lastName": "LAST NAME HERE",*
-
"context._genesys_url": "URL HERE",*
-
"district": "",*
-
"context._genesys_pageTitle": "PAGE TITLE HERE",*
-
"Chat Language": "en-us"*