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
rikhilrikhil 

live agent:You have attempted to access a page that requires a salesforce.com login

hi all ,

 Ive crated  live agent prechatform and added that to the force.com sites  and when i click on the link it giving me the following error

''You have attempted to access a page that requires a salesforce.com login. If you are already a user of the system, please login below."

is it possible to access that page without authorisation?

 

 

help would be appreciated

Best Answer chosen by Admin (Salesforce Developers) 
JonAnianoJonAniano

To use your VF Page as an unauthenticated pre-chat form, you will need to make sure to assign the page to your "Force.com Site" and also to set the security on the page (and any Apex controller behind the page) to be accessible via the force.com site's guest user.

All Answers

JonAnianoJonAniano

To use your VF Page as an unauthenticated pre-chat form, you will need to make sure to assign the page to your "Force.com Site" and also to set the security on the page (and any Apex controller behind the page) to be accessible via the force.com site's guest user.

This was selected as the best answer
rikhilrikhil

hi jonAniano,

  thanks for the response and its working fine with developer edition but in sandbox am getting certification error