You need to sign in to do that
Don't have an account?

cannot create a record through sites
I am unable to create a record through sites which is integrated with a visual force page. I have the read, create, edit permissions checked for the custom object on public access settings. I can create the records through the VF page that the sites refers to but I am unable to create the same through sites. Any help? Here is the controller code that is being called when I hit submit button and expect the record be created..
public PageReference confirm() {
if (this.request != null) {
try {insert request; }
catch (system.DMLException e){ApexPages.addMessages(e);
return null;
}
PageReference p = Page.submit;
p.setRedirect(true);
return p;
}
Actually, I realized that the records are being created but they are just not visible from the customobject
tab view, unless I go to the 'All' view..!!