+ Start a Discussion
David JobeDavid Jobe 

prechat survey page requring login

I have built a viauslforce page using the code that Salesforce has provided for Prechat Survey.
It is asking for the client to log into salesforce to see the page. How do I make it so the page in question (in sandbox) is able to be viewed by the general public on the internet and not require a log in?
Raj VakatiRaj Vakati
What we do is have a visualforce page that is on a site that is public facing.  The site page is then specified as the pre-chat page.  This will make the page not require a login since it's a public page

You can add this page to public sites so that you can by pass the login 

https://developer.secure.force.com/cookbook/recipe/creating-a-web-to-lead-form-for-your-force-com-site

Public access settings control what public users can do on each Force.com site. To set the public access settings for your site:
From Setup, enter Sites in the Quick Find box, then select Sites.
Click the name of the site you want to control.
Click Public Access Settings to open the Profile page for your site profile.