Show different logo in signature depending on user

When working with several companies in one org you probably don't want to show one company's logo in the signature for all users.

In this article I will explain how you can work with multiple logos and how you can determine which logo should be shown for which user in the signature.

There are several ways you can configure this in Salesforce. However, I will explain one way in this article.

To execute these changes you will need admin rights.

If you have never created a field before it is recommended you read the articles concerning this subject first. At the end of this article you can find some useful articles of Salesforce.

First, you will need to create two fields on the User object; a picklist field and a formula field.

Picklist field

With this field you can indicate on the user record which logo should be shown in the signature. You can call this field for example Type of email logo (API name Type_email_logo__c ). The amount of values depends on how many different logos you want to show. In this article we will work with 2 different logos. Thus, 2 values will need to be created; for example: Company 1 and Company 2.

Make sure that this field is added to the page lay out.

Formula field type Text

In this field we have to write the logic of when which logo should be shown. You can name this field Email image (API name Email_image__c) for example.

The formula field should be added as a merge item. The merge item will be {!user.APIname}. Thus, in my example it will be {!user.Email_image__c}. You will need to add it in the footer in the email template or in Connexys Setup > Application settings > Email message.

Filling the picklist field

If you're configuring this in an org that is already live you have two options to fill the picklist field on the user record.

1. If it's an org with a few users then it is easier to manually select a logo.

2. If it's an org with many users then it's recommended to fill the field with the Data loader based on a recognizable feature that allows you to see to which company the user belongs to.

In the case of new users you will need to select a value manually.

Test if it works

Finally, send a test email to check if the (correct) logo is shown in the mail.