findOrCreate.map.isExactMatch

Use the findOrCreate.map.isExactMatch method to specify whether a field value must exactly match the field value in an existing record when you conduct a search with the findOrCreate.map method.

Usage 

Specifies which fields in your findOrCreate.map method require an exact field value match when you search for existing records. You can specify this for one or more fields within records.

Available in API versions 29.0 and later.

Syntax 

<input type= “hidden” name= “liveagent.prechat.findorcreate.map.isExactMatch: String entityName” value= “String fieldName, Boolean exactMatch;” />

Parameters 

NameTypeDescriptionAvailable Versions
entityNameStringThe type of record to search for or create when an agent accepts a chat with a customer—for example, a contact record.Available in API versions 29.0 and later.
fieldNameStringThe API name of the field to search for in existing records.Available in API versions 29.0 and later.
findBooleanSpecifies whether to search for existing records that contain an exact match to the field fieldName (true) or not (false).Available in API versions 29.0 and later.

To find the API name of a field for a standard object, see our API documentation. For non-standard objects, look at the field detail for the object under Setup.

You only need to specify fields for which exactMatch equals true. The method will not search for records containing fields for which exactMatch equals false.