I create a new site which I would like to have my end users to access without SF login. I created a custom object and I was able to display the records but the insert isn't working. I get the message below
"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"
<apex:page standardController="OnboardingInfo__c" tabStyle="OnboardingInfo__c">
<apex:form>
<apex:pageBlock>
<apex:pageBlockSection columns="1">
<apex:inputField value="{!OnboardingInfo__c.Name__c}"/>
<apex:inputField value="{!OnboardingInfo__c.Technical_Contact__c}"/>
<apex:inputField value="{!OnboardingInfo__c.Field1__c}"/>
<apex:inputField value="{!OnboardingInfo__c.Module1__c}"/>
</apex:pageBlockSection>
<apex:pageBlockButtons >
<apex:commandButton action="{!save}" value="Save"/>
</apex:pageBlockButtons>
</apex:pageBlock>
</apex:form>
<apex:pageBlock>
THIS IS A TEST
<apex:listViews type="OnboardingInfo__c"/>
</apex:pageBlock>
I have granted Create Read Edit permission under the "Remote Site Settings => Profile" for the Site that I created. Please help me in letting me know the permission that I am missing.
Ideally I would like to show the Add / Edit Screen that you get in out of box Salesforce object inside the Site (I am assuming we need to use VF page for this).
Is there a way we can add the entire tab to the Visual force page inside the "Site" created?
I checked the permission for the Visual force page and I do see that as part of the General User's default form profile. Also the fact that the List View of all records inside the custom object works OK (