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

Customer portal vs. Partner Protal in Sites
I have a scenario that i'd like to decide between a customer portal or a partenr portal to use with Sites.
I want a Customer/User to be able to register.
Create there own contact info (address, phone, email) and give them the ability to change it.
With a customer portal i can enable user registration but i have no i access to account or contacts.
Where as from a partner portal, i have access to contacts/account but I dont see a way to have them self register.
Any one solved this need before? or have a way around the above limitations ?
Thanks
All Answers
Rather than trying to expose the user's contact to himself, the user has access to a My Profile page which allows him to edit certain fields of his own User object. You can synchronize this to the Contact with a trivial Apex trigger, for instance:
trigger UpdateContactFromPortalUser on User (after update) {
List<Contact> contactsToUpdate = new List<Contact>();
for (User u : Trigger.new) {
String contactId = u.ContactId;
if (contactId!=null && contactId!='') {
Contact c = new Contact(Id=contactId);
c.Email = u.Email;
c.FirstName=u.FirstName;
c.LastName=u.LastName;
c.Title=u.Title;
c.Phone=u.Phone;
c.Fax=u.Fax;
c.MobilePhone=u.MobilePhone;
c.MailingStreet=u.Street;
c.MailingCity=u.City;
c.MailingState=u.State;
c.MailingPostalCode=u.PostalCode;
c.MailingCountry=u.Country;
contactsToUpdate.add(c);
}
}
if (contactsToUpdate.size()>0) {
update contactsToUpdate;
}
}
Thanks fot the reply, I don't see that 'My Profile' page -
How can i enable it after the Customer Portal User logs in ??
How does one setup a different case layout for the customer portal? Does on have to create workflow to set the recordtype and laout according to the users logon profile?
Thanks
Stephen
That's what I thought, but it's not there. I'm confused. :smileyindifferent: