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
Tena Wolver 39Tena Wolver 39 

Live Agent Route to User Directly Without a Button

Can I route directly to a user rather than a button?  I have attempted to use the code in this example but it never connects to an agent. I did hard code the agent userID to try to see if it works. I don't want to create a button for every agent. We are not using Snap-IN. 
https://developer.salesforce.com/docs/atlas.en-us.live_agent_dev.meta/live_agent_dev/live_agent_direct_to_agent_fallback_code_sample.htm