Skip to main content
1 of 3
hareesh
  • 21
  • 1
  • 3

username not populating in Email template ({!Receiving_User.Username}) customer portal

I am working on communities costomer portal. I have created a email template for reset password for custome. when ever email triggred username is blank for usename am using : {!Receiving_User.Username} merge field if i replace it with : {!user.username } it populating curent user username but i need customer username please help me on this

FYI: For portal users, the Receiving_User is actually pulling fields from the Contact object, not from the User object. Even the standard fields are from the Contact, not from the User.

bellow is my code:

Dear {!Receiving_User.FirstName} {!Receiving_User.LastName}, ----> first name and last name populating correcr

Username:{!Receiving_User.Username}

Login with temporary password link generated by system:{!Community_Url}

Please log into your account with the credentials listed above. You will be asked to set a new password when you log in. If you have any questions, please contact me.

Best regards, {!User.FirstName} {!User.LastName} {!User.Title} {!User.Phone} {!User.Email} {!Organization.Name}

hareesh
  • 21
  • 1
  • 3