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
JeriMorrisJeriMorris 

Site vs. Community?

I'm creating a simple VF page that will prompt the user to enter some information, then look in a custom object to see whether a matching record exists, and then either update that record or create a new one.

 

I need to expose this page to unauthenticated users. I'm wondering whether I should create a Community, and then configure it with a Force.com Sites page, or just create a Force.com Site independent of a Community. What are the pros and cons of each approach?

 

Thanks!

Sonam_SFDCSonam_SFDC

Hi Jeri,

 

I am not sure if this would be possible through either as your VF page will try to make changes in the database and Salesforce requires authentication for such dml actions.