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
Brittinie Harper 9Brittinie Harper 9 

Live Agent Pre Chat Button Routing in Communities

Hello,
I have run into an issue when setting up my pre-chat page within communities. After research and reaching out to Salesforce, I have found that I have to create multiple buttons in which to have to route of multiple skills on one button. I have created the picklist options as follows:

 &nbsp;<select name="Issues">
 <option value="Support">Support</option>
<option value="Sales">Sales</option> </select>

This has assisted me in creating the picklist but I am in need of an example of code that would assist me in routing to the respective skill agent. The button creation only allows me to have one skill option when I would like to have five separate skill options. Does anyone know any code in which to assist me in routing chats via a pre-chat form and by a picklist option? There is not much information that I can find. Thank you for your help in advance!
 
Brittinie Harper 9Brittinie Harper 9
I have found that I had to move forward with the Fallback Routing Prechat forms to accomplish this. 
More details here: https://developer.salesforce.com/docs/atlas.en-us.live_agent_dev.meta/live_agent_dev/live_agent_direct_to_agent_fallback_in_prechat_form.htm