• Ckehm
  • 0 Points
  • Member since 2013

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 3



    i am using following code when i used it means it showing  an error message connection lost please check your connection, actually i created a my system admin as live agent when he login also it showing an error can any one help me.

MY CODE:::::::::

My title

<script type='text/javascript' src='https://c.la2c1.salesforceliveagent.com/content/g/deployment.js'></script>
Welcome to Live Agent

<a id="liveagent_button_online_573E0000000Ccuh" href="javascript&colon;//Chat" style="display: block;" onclick="liveagent.startChat('573E0000000Ccuh')"> Start live agent</a>

<script type='text/javascript'>
liveagent.init('https://d.la2c1.salesforceliveagent.com/chat', '572i0000000Qr3I', '00Di0000000d7eN');
<img id="liveagent_button_online_573i0000000Qskn" style="display: none; border: 0px none; cursor: pointer" onclick="liveagent.startChat('573i0000000Qskn')" src="https://esoftcenter-developer-edition.na15.force.com/resource/1377010559000/onlineimage" /><img id="liveagent_button_offline_573i0000000Qskn" style="display: none; border: 0px none; " src="https://esoftcenter-developer-edition.na15.force.com/resource/1377010588000/offlineimage" />
<script type="text/javascript">
if (!window._laq) { window._laq = []; }
window._laq.push(function(){liveagent.showWhenOnline('573i0000000Qskn', document.getElementById('liveagent_button_online_573i0000000Qskn'));
liveagent.showWhenOffline('573i0000000Qskn', document.getElementById('liveagent_button_offline_573i0000000Qskn'));


So I figured out how to tell Live Agent to use a custom page... (I think)


But when I switch to using a custom page, and the user initiates a chat from a Chat Button, the user is blocked by an "Authorization Required - You must first log in or register before accessing this page." message. I attempted to adjust the "Security" setting of the page, just adding all the roles to the page, and that didn't work.


So... how exactly do I expose that custom page so that any of our customers/users (i.e. The Public) can communicate via the custom chat page without requiring a login?