You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Embedded Chat Inlay - error setting custom field for launch-form-fields

Accepted answer
11
Views
4
Comments
edited Aug 7, 2020 5:46PM in Customer Portal 4 comments

Content

Hi,

I'm trying to use a custom field for embedded chat inlay, release 20B. I've set it up as an attribute in my config file, following the directions in the documentation:

{
    "inlays": {
      "common": {
        "attributes": {
            "launch-form-fields":["SUBJECT",  "c$person_id", "FIRST_NAME*", "LAST_NAME*"]
        },
        "strings": {
        }
      }
    }
}

The standard fields appear, however, this gives me the following error in the javascript console: "Invalid custom field 'c$person_id'"

This is a valid custom field. I've tried with a few different custom fields. I also tried removing the quotes, but of course that results in a JSON parse error.

What am I missing here? 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!