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

My user credentials into a Visualforce email
Hello there.
I have created a visualforce email template and would like to have my user credentials in the bottom like my name,address,phone,fax, email,website etc.
From what I can understand i will need to use the field where I have created my profile in Salesforce. I have been trying to sort it out but sometimes I get errors and other just won't work.
Any ideas please!!
I have created a visualforce email template and would like to have my user credentials in the bottom like my name,address,phone,fax, email,website etc.
From what I can understand i will need to use the field where I have created my profile in Salesforce. I have been trying to sort it out but sometimes I get errors and other just won't work.
Any ideas please!!
You can display the same in your Emails by using the User object fields in the email template.
For example:
Regards,
{!$User.FirstName} {$!User.LastName}
{!$User.Email}
{!$User.Fax}
Regards,
Lakshmi.
PS: If the above resolved your issue kindly mark it as the solution.
All Answers
if not then
1- Create a custom component with a controller
2- Get the user details
3- Embed the created component into your Visualforce Email Template.
Thanks
Jeet
You can display the same in your Emails by using the User object fields in the email template.
For example:
Regards,
{!$User.FirstName} {$!User.LastName}
{!$User.Email}
{!$User.Fax}
Regards,
Lakshmi.
PS: If the above resolved your issue kindly mark it as the solution.
Solutions provided worked fine.
Thank you again