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
Sharad Jain 9Sharad Jain 9 

Create Public VFPage and insert record in custom object by non salesforce users

I need to Create a VFPage for Survey Custom Object and host it publically with Case and contact ids and allow users out side salesforce to submit the survey
SFDC Prime SquadSFDC Prime Squad
You can create a customer community and expose the custom object on the community. The end users should be able to insert the record on through page and CRUD permissions and other security concerns can be taken care in apex code as well.
 
SEKAR RAJ.SEKAR RAJ.
Hi Sharad,
You can create a custom visualforce page and add it into the Settings --> site (community portal). then your visualforce page is available for the user publicly.

User-added image

You can select the visual force page and add it in the Activate site Home Page Lookup field.
Before doing the above configuration, you need to create a community portal for External users and activate.

Thanks,
SEAKR RAJ