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
heiriticheiritic 

"Authorization Required" after insert new custom object record in salesforce site

Hi all,

I have a problem in salesforce site.  Is it possible to save a new record into standard or custom object in salesforce site? I always get the message =

 

------

Authorization Required

You must first log in or register before accessing this page.
If you have forgotten your password, click Forgot Password to reset it. 

------

 

For informaiton, in visualforce page, it runs without problem.

 

Suggestions and ideas would be great. Thanx

 

 

Edwin

 

David VPDavid VP

Check the CRUD settings (create - read - update -delete) for the object as well as the field level security : is the Guest Profile (Public Access Settings) allowed to create the object ?

Did you grant access to the VF page & Classes that your code needs to run ?