findOrCreate.showOnCreate

Use the findOrCreate.showOnCreate method to find or create a record and automatically open it in a subtab in the Salesforce console.

Usage 

Opens the record you created using the findOrCreate.map.doCreate and findOrCreate.map.doFind Pre-Chat API methods automatically in a subtab in the to the Salesforce console.

Available in API versions 29.0 and later.

Syntax 

<input type= “hidden” name= “liveagent.prechat.findorcreate.showOnCreate: String entityName” value= “Boolean show” />

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.
showBooleanSpecifies whether to display the record you created in a subtab in the Salesforce console (true) or not (false).Available in API versions 29.0 and later.