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
Tarun DasTarun Das 

How To Make VF page contents visible and actionable to NonSalesforce users rss or allow public access

I have a VF page and a quiz page ,now i want contents to be visible and actionable to NonSalesforce users  or i want this VF Page to be accessible to any user ,i mean he should not need to enter salesforce creds 

any relevant artifacts for this which shows step by step method?

Regards,
Tarun
Ramesh DRamesh D
@Tarun

After creating your Visualforce page:
  1. go to Setup > Develop > Sites,
  2. register your Force.com subdomain name,
  3. create a new Force.com Site
  4. next to 'Site Visualforce Pages' click Edit
  5. add your page to the list of Enabled Visualforce Pages
Note: Make sure Site Guest User has all object permissions used on the VF page

I hope you find the above solution helpful. If it does mark as best answer to help others too.
Thanks,
Ramesh D
Khan AnasKhan Anas (Salesforce Developers) 
Hi Tarun,

Greetings to you!

You can use Salesforce Sites for this. Please refer to the below links which might help you further with the above requirement.

https://blog.webnersolutions.com/make-visualforce-page-externally-accessible-by-non-salesforce-users

https://help.salesforce.com/articleView?id=sites_setup_overview.htm&type=5

https://developer.salesforce.com/forums/?id=906F0000000BRnPIAW

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas