Configure Contacts
  • 13 Jul 2022
  • 3 Minutes to read
  • Dark
    Light

Configure Contacts

  • Dark
    Light

Article Summary

Configuring the Contact object for text messaging requires a few steps to modify your Contact page layout(s). The steps are outlined below for both Lightning and Classic.

Lightning

  1. Go to Setup > Object Manager > Contact.
  2. Click Page Layouts, then choose the layout you want to modify. This will open the Page Layout editor.

Fields

  1. In the top section of the page layout editor, click Fields.
  2. Search for the Do Not SMS (Contact) field.
  3. Drag the Do Not SMS (Contact) field onto your page layout and place it where you'd like.

Related List (optional)

  1. In the top section of the page layout editor, click Related Lists.
  2. Search for the SMS Messages (Contact) related list.
  3. Drag the SMS Messages (Contact) related list into the Related Lists section at the bottom of the page and place it where you'd like.
  4. Once it's on the page, click the Wrench icon to open the Properties for this related list.
  5. Add these fields in the following order:
    1. Message Date
    2. Direction
    3. Message (Full)
    4. Status
    5. From Phone
    6. To Phone
    7. SMS Message Number
  6. In the Sort By drop-down, choose "SMS Message Number" and "Descending".
  7. Click the plus sign (+) located in the Buttons section.
  8. Uncheck the box next to New and click Ok.
  9. Save the page layout.

Lightning Record Page Layout

  1. While in the Object Manager, click Lightning Record Pages located in the left-hand sidebar.
  2. Click the name of the Lightning Page Layout you want to modify.

:::(Info) (
If you don't see any Lightning page layouts listed, click the New button. Choose Record Page and click Next. Provide a Label (i.e. Contact Layout), choose the Contact object, and click Next. Click Clone Salesforce Default Page. Choose Contact Record Page Default and click Finish.
:::

You should now be in the Lightning App Builder. On the left-hand sidebar you will see a list of Lightning Components.

  1. Search for the Blackthorn Messaging Messenger component.
  2. Drag and drop the Messaging Messenger component to add it anywhere on your page. After adding it to the page you will see some configuration options on the right-hand side. We recommend keeping the default Max Height of "400px", but you can modify this as needed.
    • If you've added the component to a sidebar choose the One Column option.
    • If you've added it to a wide section of the page you can select the Two Column option to maximize the space.
  3. Click Save and Activate your page. You may need to refresh your browser for the changes to take effect.
  4. Navigate to a Contact record to see the Messaging Messenger component on your page.

Classic

  1. Go to Setup > Contacts > Page Layouts.
  2. Click Edit next to the page layout you want to modify. This will open the Page Layout Editor.

Fields

  1. In the top section of the page layout editor, click Fields.
  2. Search for the Do Not SMS (Contact) field.
  3. Drag the Do Not SMS (Contact) field onto your page layout and place it where you'd like.

Messaging Messenger

  1. Drag a new Section onto your page layout and place it where you'd like.
  2. Give the new section a Name (i.e. "Messaging").
  3. Select a 1-Column layout.
  4. Click Ok.
  5. In the top section of the page layout editor, click Visualforce Pages.
  6. Find the page named Send_ltng and drag it to the section you just created.
  7. Hover over the Visualforce page and click the Wrench icon. This opens the page Properties.
  8. Change the Height to "500px".
  9. Select Show Scrollbars.
  10. Click Ok.
  11. Save the page layout.

Related List (optional)

  1. In the top section of the page layout editor, click Related Lists.
  2. Search for the SMS Messages (Contact) related list.
  3. Drag the SMS Messages (Contact) related list into the Related Lists section at the bottom of the page and place it where you'd like.
  4. Once it's on the page, click the Wrench icon to open the Properties for this related list.
  5. Add these fields in the following order:
    1. Message Date
    2. Direction
    3. Message (Full)
    4. Status
    5. From Phone
    6. To Phone
    7. SMS Message Number
  6. In the Sort By drop-down, choose "SMS Message Number" and "Descending".
  7. Click the plus sign (+) located in the Buttons section.
  8. Uncheck the box next to New and click Ok.
  9. Save the page layout.