• David Fincher 2
  • NEWBIE
  • 0 Points
  • Member since 2023

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Hi,
We have deployed the SF community, but when people use the self register link on the site SF creates a contact record and user record on a default account even if the email address matches a current customer.  As you can image managing the default account of contacts is not something I want to deal with.

During the sites self-registration process, I have only come across the ability to create a portal user that creates both a contact and a user synchronously.  I would like to be able to create a portal user using an existing contact.  I tried setting the contact id on the user object before I called createPortalUser, but it still created a new contact.  We are trying to eliminate the possibility of duplicate contacts.

So I am looking for a way to auto match users to their contacts to their user records if the email addresses match.  I understand that this can done with a controller.  I don't do that level of SF work yet, so any help would be great.


Can u post the code in which you were able to enable new users under existing contact. It will help me alot...

 

Dear all,

I have a problem regarding the images. I followed the steps using the answers that provided in another post : https://developer.salesforce.com/forums/ForumsMain?id=906F000000096DdIAI

The thing is on the test verify I do see the image but when I email the template it shows as broken.
My steps were :
1) Created a folder named image and added the jpg.
2) Zipped the file and uploaded it into Static Resources.
3) The code used to have the jpg into the email is : 
<img src="{!URLFOR($Resource.WeddingLogo, 'image/WeddingLogoNew.jpg')}" height="75" width="350" alt="WeddingLogoNew.jpg"></img>

I do get it on the preview but not on the emails that I send. Any idea what is causing this??