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

Configure Leads

  • Dark
    Light

Article Summary

Configuring the Lead object for text messaging requires just a few steps. You only need to make some modifications to your Lead page layout(s). The steps are outlined below for both Lightning and Classic.

Lightning

  1. Go to Setup > Object Manager > Lead.
  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. Then search for the Do Not SMS field.
  2. Drag the Do Not SMS field onto your page layout and place it wherever 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 related list.
  3. Drag the SMS Messages 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 still 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.

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. Lead Layout), choose the Lead object, and click Next. Click Clone Salesforce Default Page. Choose Lead Record Page Default and click Finish.

  1. You should now be in the Lightning App Builder. On the left-hand sidebar you will see a list of Lightning Components. 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 Lead record to see the Blackthorn Messaging Messenger component on your page.

Classic

  1. Go to Setup > Leads > 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 field.
  3. Drag the Do Not SMS 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 and click Ok.
  4. In the top section of the page layout editor, click Visualforce Pages.
  5. Find the page named Send_ltng and drag it to the new section you just created.
  6. Hover over the Visualforce page and click the Wrench icon. This opens the page Properties.
  7. Change the Height to "500".
  8. Select Show Scrollbars and click Ok.
  9. 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 related list.
  3. Drag the SMS Messages 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.