You need to sign in to do that
Don't have an account?
MohsinWadee
Build a Branded Chat - Test Your Chat Step
Can someone please give the complete Visualforce page code? Cannot get mine to work.
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
<apex:page >
<h1>Let’s start chatting...</h1>
<br />
Click the big button to start a chat.
<br />
<apex:form >
<apex:commandButton image="OnlineButton" onclick="liveagent.init('https://d.la1-c1-frf.salesforceliveagent.com/chat', '572580000008RKW', '00D58000000aRDO');"/>
</apex:form>
<script type='text/javascript' src='https://c.la1-c1-frf.salesforceliveagent.com/content/g/js/37.0/deployment.js'></script>
</apex:page>
I had it wrong also. It is written : "Paste your button and deployment code snippets below the provided labels."
So you need to copy your button code and below the deployment code.
Your page should look like some thing like that :
When I hit the chat button, the popup is not using my SF Site URL but this address :
https://2rj.la1-c2-par.salesforceliveagent.com/content/s/chat?language=en_US#deployment_id=5720Y000000PBYH&org_id=00D0Y000000Yy8H&button_id=5730Y000000PBnF&session_id=2c47e72e-c3de-430f-a130-83045bdf70cb
Could you please post your VF page code ?
I don't thing this is due to some firewall issue.
<apex:page >
<h1>Let’s start chatting...</h1>
<br />
Click the big button to start a chat.
<br />
<!--Button Code-->
<img id="liveagent_button_online_573580000008RjZ" style="display: none; border: 0px none; cursor: pointer" onclick="liveagent.startChat('573580000008RjZ')" src="https://mohsinw-developer-edition.eu6.force.com/resource/1476168804000/OnlineButton" /><img id="liveagent_button_offline_573580000008RjZ" style="display: none; border: 0px none; " src="https://mohsinw-developer-edition.eu6.force.com/resource/1475889417000/OfflineButton" />
<script type="text/javascript">
if (!window._laq) { window._laq = []; }
window._laq.push(function(){liveagent.showWhenOnline('573580000008RjZ', document.getElementById('liveagent_button_online_573580000008RjZ'));
liveagent.showWhenOffline('573580000008RjZ', document.getElementById('liveagent_button_offline_573580000008RjZ'));
});</script>
<!--Deployment Code-->
<script type='text/javascript' src='https://c.la1-c1-frf.salesforceliveagent.com/content/g/js/37.0/deployment.js'></script>
<script type='text/javascript'>
liveagent.init('https://d.la1-c1-frf.salesforceliveagent.com/chat', '572580000008RKW', '00D58000000aRDO');
</script>
</apex:page>
Looks like it is an issue with your Salesforce Site, you should check your settings according to the instructions.
Also check that the static ressource with the images is public.
The site is trying to access something something not available.
I can´t push the buttom
Challenge Not yet complete... here's what's wrong:
You haven't tested your chat! Please follow instructions carefully.
It´s impossible to click the buttom.
Anybody can help me? Thanks in advance!
You can only click on the button when it is showing the online image and not the offline one. For that, you need to launch the console as the Live Agent on another tab, and set your availability to Online.
I am getting the following error! Help will be greatly apperciated.
"Challenge Not yet complete... here's what's wrong:
You haven't tested your chat! Please follow instructions carefully"
I cannot get the online button. Please see the screen shot below. (I refreshed the browser multiple times but it did not change to "Online")
I have pretty much the same problem as @MohsinWadee: after pressing the "Chat with us" button, the following notification pops up:
I have no clue what to do, I have tried everything. Is there someone who knows a way out of this?
Cheers,
Cyrus
Everyone - make sure that when you complete the section titled "Create a Chat Button" that you only fill in the Site, Online Image, and Offline Image. Filling in additional fields will cause an "Authorization Required" error when you test your chat in step 5.
I'll ask the writer to make this more explicit.
Another thing to check is the Static Resources. Make sure when you upload each image that you set the Cache Control to Public.
The Visualforce page <strong>Start Chatting</strong> does not exist. Please follow instructions carefully.
Server Error
405 - HTTP verb used to access this page is not allowed.
The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.
We can delete the code and go back to the standard included buttons with embedded chat but we don't understand why this happened and why we can't connect it to our custom chat button.
These are the steps we followed:
1. Followed Salesforce Documentation Instructions to install Custom Chat Buttons.
2. Added Chat Button Code to Staging Site Pages.
3. Added Chat Deployment Code (Javascript) to Staging Site Pages - this finally changed the button but then replaced the other components.
There were no error message just complete change. Documentation reads as though embedded chat is an extension of Live Agent. Are they two different things?
Thanks for anything you can offer.
Emma