I am working on communities costomercustomer portal. I have created a email template for reset password for customecustomer. when ever email triggredtriggered username is blank for usenameusername am using : {!Receiving_User.Username} {!Receiving_User.Username} merge field if i replace it with : {!user.username }{!user.username } it populating curentcurrent user username but i need customer usernameneed 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 correcrcorrect
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}