Skip to main content
All CollectionsIntegrationsSalesforceSetup
Customise page layouts in Salesforce
Customise page layouts in Salesforce

Add the required custom elements for the Dotdigital connector to your Salesforce pages.

Gareth Burroughes avatar
Written by Gareth Burroughes
Updated over a year ago

Once you have installed the Dotdigital for Salesforce connector, there are three standard Salesforce pages that require editing to allow the full integration of the package. The pages are:

  • Campaigns

  • Contacts

  • Leads

The steps to customise each of these pages are outlined below.


Before you start

Things you need to know:

  • You need to log into Salesforce as a system administrator to perform the steps outlined in this article.


Customise your campaigns page layout

The Campaigns page is customised by adding a button and two related lists.

1. Add the custom button

  1. Select the Setup cog and then Setup in the top right.

    setup.png

  2. Search for Object using the Quick Find search bar.

    object_manager.png

  3. Select Object Manager, and then go to Campaign > Page Layouts and select a campaign layout.

  4. Select Buttons.

  5. Drag the Link to Email Address Book button to the Custom Buttons area.

    If the Custom Buttons area is not immediately visible, it will appear as you drag the chosen button underneath the Standard Buttons area.


    1._add_custom_button.png

2. Add related lists

  1. Select Related Lists.

  2. Drag the Campaign to Email Campaign Link and Email Address Books lists to the bottom of the Campaign Sample area.


    2._add_related_lists.png
  3. Select the Related List Properties icon on the lists section to open the Related List Properties - lists window.

    3._related_list_properties.png
  4. A list of available fields relating to Dotdigital lists is displayed, which can be displayed on the Salesforce campaign page.

  5. Select the fields you want to add to your Selected Fields list, and then select Add.

    • To remove a field from the list, highlight it and select Remove.

    • To arrange your fields, highlight the field and use Up and Down.


    4._related_props.png

  6. Select + to expand the Buttons accordion menu.

  7. Clear the New check box, then select OK.


    5._related_prop_buttons.png

  8. Select the Related List Properties icon on the Campaign to Email Campaign Link section to open the Related List Properties - Campaign to Email Campaign Link window.

    6._related_list_properties_2.png

  9. Select the fields you want to add to your Selected Fields list, and then select Add.

  10. Select + to expand the Buttons accordion menu. Select the New checkbox, then select OK.

    new_button.png

  11. Select Save, and then select Yes.

    7._save_layout.png

3. Add Lightning button

  1. Go to Campaigns, then select a campaign name.

  2. Select Setup, then Edit Page.

    edit_page.png
  3. Drag Campaign Button from the left side panel to the right hand side of the campaign page.

    add_lightning_button_campaign.png

  4. Select Save.

  5. If you see a pop-over which directs you to activate the page:

    1. Select Activate.

    2. Select the App Default tab.

    3. Select Assign as App default.

    4. Select the checkbox for Dotdigital.

    5. Select Next, then Next again.

    6. Select Save.


Customise your contacts page layout

Using a person account

If you're using a person account, you can also customise the layout of your person account.

The contacts page layout needs to be modified by adding a field, two buttons and a number of related lists.


1. Add the field

  1. Select the Setup cog and then Setup in the top right.

  2. Search for Object using the Quick Find search bar.

  3. Select Object Manager, and then go to Contact > Page Layouts > Contact Layout.

  4. Select Fields.

  5. Drag Opt-in type to the Contact Information area.

    8._add_optintype.png

Opt-in type

To sync opt-in type for your contacts, you need Dotdigital for Salesforce v2.41 or above installed.

2. Add the custom buttons

  1. Select Buttons.

  2. Drag Add to Automation Program and Engagement Timeline into the Custom Buttons area.


    9._add_custom_buttons_contact.png

3. Add related lists

  1. Select Related Lists.

  2. Drag the following lists to the area above Opportunities:

    1. Email Campaigns

    2. Email Clicks

    3. Email Page Views

    4. Email ROI

    5. Email Social Bookmarks

    6. Form Responses

    7. Suppressions

      We suggest that you arrange the lists in the above order.

    10._add_lists_contact.png

For each of the lists you added:

  1. Select the Related List Properties icon.

  2. Amend each list to add the following fields under the Columns area:

    1. Email Campaigns - Email Address, DateTime Sent, Email Campaign, Email, Opens, Page Views, Clicks, Hard Bounced, Soft Bounced, Date Last Opened

    2. Email Clicks - Email Address, Date Clicked, Email Campaign, Keyword, IP Address, URL

    3. Email Page Views - Email Address, Date Viewed, Email Campaign, URL

    4. Email ROI - Email Address, Marker, Email Campaign

    5. Email Social Bookmarks - Email Address, Social Name, Views, Email Campaign

    6. Form Responses - Email Address, Date Completed, Form, Is Complete

    7. Suppressions - Email, Reason, Dotdigital Account, Date Suppressed


      11._list_properties_contact.png

  3. Select + to expand the Buttons accordion menu.

  4. Clear the New check box, then select OK.

  5. Select Save, and then select Yes.

4. Add Lightning buttons

  1. Go to Contacts, then select a contact name.

  2. Select Setup, then Edit Page.

  3. Drag Lead and Contact Buttons from the left side panel to the right hand side of the Contact page.

  4. Select Save.

  5. If you see a pop-over which directs you to activate the page:

    1. Select Activate.

    2. Select the App Default tab.

    3. Select Assign as App default.

    4. Select the checkbox for Dotdigital.

    5. Select Next, then Next again.

    6. Select Save.


Customise your leads page layout

The leads page layout needs to be modified by adding a field, three buttons and a number of related lists.

1. Add the field

  1. Select the Setup cog and then Setup in the top right.

  2. Search for Object using the Quick Find search bar.

  3. Select Object Manager, and then go to Lead > Page Layouts > Lead Layout.

  4. Select Edit.

  5. Select Fields.

  6. Drag Opt-in type to the end of the Lead Information area.


    12._add_field_lead.png

Opt-in type

To sync opt-in type for your contacts, you need Dotdigital for Salesforce v2.41 or above installed.

2. Add the custom buttons

  1. Select Buttons.

  2. Drag Add to Automation Program and Engagement Timeline into the Custom Buttons area.


    13._add_buttons_lead.png

3. Add related lists

  1. Select Related Lists.

  2. Drag the following lists to the area above Opportunities:

    1. Email Campaigns

    2. Email Clicks

    3. Email Page Views

    4. Email ROI

    5. Email Social Bookmarks

    6. Form Responses

    7. Suppressions

      We suggest that you arrange the lists in the above order.

For each of the lists you added:

  1. Select the Related List Properties icon.

  2. Amend each list to add the following fields under the Columns area:

    1. Email Campaigns - Email Address, DateTime Sent, Email Campaign, Email, Opens, Page Views, Clicks, Hard Bounced, Soft Bounced, Date Last Opened

    2. Email Clicks - Email Address, Date Clicked, Email Campaign, Keyword, IP Address, URL

    3. Email Page Views - Email Address, Date Viewed, Email Campaign, URL

    4. Email ROI - Email Address, Marker, Email Campaign

    5. Email Social Bookmarks - Email Address, Social Name, Views, Email Campaign

    6. Form Responses - Email Address, Date Completed, Form, Is Complete

    7. Suppressions - Email, Reason, Email Account, Date Suppressed

  3. Select + to expand the Buttons accordion menu.

  4. Clear the New check box, then select OK.

  5. Select Save, and then select Yes.

4. Add Lightning buttons

  1. Go to Leads, then select a lead name.

  2. Select Setup, then Edit Page.

  3. Drag Lead and Contact Buttons from the left side panel to the right hand side of the Lead page.

  4. Select Save.

  5. If you see a pop-over which directs you to activate the page:

    1. Select Activate.

    2. Select the App Default tab.

    3. Select Assign as App default.

    4. Select the checkbox for Dotdigital.

    5. Select Next, then Next again.

    6. Select Save.


Next steps

Did this answer your question?