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
Lon JonesLon Jones 

Record ID in URL parameter making Visualforce page read only.

 I have other pages in this site that utilize the contact object but when I use it in this page it makes the entire page read only.  The page works in the scope of a logged in user, but not with an external site. If I remove the ID Parameter, the page renders as it should, but obviously cannot update.   I have gone through all the public access settings in the guest profile for this site.  This is probably a simple thing, but I am too many hours into this to figure it out, any help is appreciated.
Jasper WallJasper Wall
Hi Lon,
Enable Read Permission check box for your contact object in your site profile,
Goto Setup > sites > your site > public access settings > edit > Standard Object Permissions > enable contact read permission

Mark it as the best answer if it helps,

Thanks,
Balayesu
Lon JonesLon Jones
Thank you Balayesu, I think I have found the solution.  For others looking, Public sites without authenticated users can only Read/Create.  Update permissions are not allowed.  There are a couple workarounds I found in this related thread https://developer.salesforce.com/forums/?id=906F000000099TrIAI