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

"The account associated with this portal has no owner"
Hi,
I'm working through the tutorial here to enable a Customer Portal for my site:
http://wiki.developerforce.com/index.php/Authenticating_Users_on_Force.com_Sites
As suggested, I got an existing account ID (I used my own account, which is an admin account) and pasted it into my SiteRegisterController, so it looks like this:
public with sharing class SiteRegisterController
{
private static Id PORTAL_ACCOUNT_ID = '00590000000aB8l'; // ID of my admin account
// snip ...
}
But after I fill in all the details and hit siubmit on the self-registration page at /SiteRegister, I get:
|
The error email that gets sent to me when this occurs says:
Catalog registration accountId parameter value is not valid
How do I fix this? Feeling very lost in this system right now!
Thanks.
Hi,
There has to be an account (create one using Accounts Tab). You will need to use this account record id in your code. When you create an account record, obviously you would be the owner of that record, so make sure your admin user record (User object) has a role. Once you do it, you should be fine.
Thanks.
All Answers
Hi,
There has to be an account (create one using Accounts Tab). You will need to use this account record id in your code. When you create an account record, obviously you would be the owner of that record, so make sure your admin user record (User object) has a role. Once you do it, you should be fine.
Thanks.
Hi,
Can you please share your code? I want to do site registration. But, I am not getting how I will assign account record Id. Can you please elaborate?
Thanks.
Hi There,
I've completed the followin and am still having the same problem.
- set up an account
- provided that id in the controller's portal account id
- made myself account owner
- assigned myself a role
The issue seems to be that the Customer Portal Account field on the account record I created is unchecked. I can't seem to find a way to enable that for editing. Any idea what I need to do?
Thanks ~