function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jonny SimmoJonny Simmo 

Live Agent - Using the findorcreate.map.isExactMatch functionality

Hello,

Within my pre-chat form I am trying to find an Account using the isExactMatch functionality.

This is the code:

<!-- Map the values used to find the Account -->
<input type="hidden" name="liveagent.prechat.findorcreate.map:Account" value="LastName,lastName;billingpostalcode,postcode;personbirthdate,dob" />
           
<!-- Search for the Account using the set values -->
<input type="hidden" name="liveagent.prechat.findorcreate.map.doFind:Account" value="LastName,true;billingpostalcode,true;personbirthdate,true;" />
           
<!-- Ensure the values are an exact match -->
<input type="hidden" name="liveagent.prechat.findorcreate.map.isExactMatch:Account" value="LastName,true;billingpostalcode,true;personbirthdate,true;" />

My understanding when using isExactMatch is that by setting all three values to true, a record will only be returned if all three values match?

However, the Account is popping in the Salesforce Console even when only one of the values is an exact match?

Any ideas?


 
ShashankShashank (Salesforce Developers) 
Please note that this has been fixed in the Summer '15 release: https://success.salesforce.com/issues_view?id=a1p300000008YTsAAM