You need to sign in to do that
Don't have an account?
lniet001
Live Agent Pre-Chat Query
I have a pre chat form, and used the following three query tag:
- <input type="hidden" name="liveagent.prechat.query:Email" value="Contact,Contact.Email"/>
- <input type="hidden" name="liveagent.prechat.query:Name" value="Contact,Contact.Name"/>
- <input type="hidden" name="liveagent.prechat.query:PantherId" value="Contact,Contact.Student_Id__c"/>
The first two work but the last one does not.
Does anyone know where to find documentation about this queries? The developer guide only provided an example.
Is there a different syntax for custom fields?
I just ran into the same problem and here's what I found. So long as you use the same label as the field on the form that corresponds with the input field. Keep in mind that the label that you use is what is seen in the liveAgent console so you might want to use "Panther ID" instead of PanterId.
see below
<input type="text" name="liveagent.PantherId" />
<input type="hidden" name="liveagent.prechat.PantherId" value="Lead,Lead.Student_Id__c"/>
Let me know if that works for you
Found the following Help article which was helpful: http://help.salesforce.com/apex/HTViewSolution?id=000159850&language=en_US. It gives more than the just the example in the developer's guide and gives some more explanation.
Pushing data from Pre-chat form to Live Agent console/Querying data in console using Prechat form's value/Saving values directly from Prechat form
Knowledge Article Number: 000159850
customer can perform several operation from Prechat form like Push data to console, Query data in console with a Prechat field value , save directly in chat transcript field