9. Configure Embedded Lists

This step lets you configure the SlapFive Reference Content & Customers component.

This is the SlapFive Reference Content & Customers component, which we also call the embedded lists of SlapFive objects. It contains embedded lists of SlapFive Boards, Stories, and Companies. This component can be placed on the page layout of any Salesforce object or on a primary navigation tab in Salesforce.

Configure how an Embedded List displays

Go to Setup > Custom Code > Custom Metadata Types.

Find SlapFive Object Reference in the list and click on Manage Records.

Click on Edit next to Boards, Stories, or Companies to bring up the edit page for that embedded list. We will use Boards as an example:

On this page, you can change the Label of the tab for this embedded list, uncheck the Is Active field to hide the tab, or change the Order in which the tab appears left to right.

Filter the Boards list to only show Boards you want to appear in Salesforce

To filter the list of Boards to only show those that you have flagged in SlapFive to appear in Salesforce:

  1. Go to Setup > Custom Code > Custom Metadata Types.

  2. Bring up the Edit page for Boards.

  3. Append the Embedded URL field to be: /client/boards/embed?custom_showInSalesforce=Yes

In SlapFive, if you haven't already:

  1. Go to the Templates used by any Boards you want to appear, and add a Custom Field to that template called Show in Salesforce.

  2. Go to the Boards tab, and for any Boards you want to appear in Salesforce, go to the Custom Fields tab and enter Yes into the Show in Salesforce field.

Filter the Stories list to only show Stories you want to appear in Salesforce

To filter the list of Stories to only show those that you have flagged to appear in Salesforce:

  1. Go to Setup > Custom Code > Custom Metadata Types.

  2. Bring up the Edit page for Stories.

  3. Append the Embedded URL field to be: /client/stories/embed?dynamicField_showInSalesforce=Yes

In SlapFive, if you haven't already:

  1. Go to Client Settings and add a Dynamic Field to the Stories entity called Show in Salesforce, with a Type of YESNO.

  2. Go to the Stories tab, and for any Stories you want to appear in Salesforce, turn on the Dynamic Field Show in Salesforce.

Change the component label

To change the label of the embedded lists component from SlapFive Reference Content & Customers to a name of your choosing:

Go to Setup > User Interface > Custom Labels.

Click Edit next to SlapFive Object Ref.

Type in your desired text in the Value field and click Save.

NOTE: if you have already added the Custom Component to a Page Layout, you may have to remove it and re-add it for the Tab change to take effect.

Change the top-level tab label

To change the label of the top-level Tab that the embedded lists appear on from SlapFive Reference Content & Customers to a name of your choosing:

Go to Setup > User Interface > Tabs.

For Lightning, click Edit next to label SlapFive Reference Content & Customers. For Classic, click Edit next to label SlapFive Reference Content & Customers (Classic).

Type in your desired text in the Tab Label field and click Save.

Add component to page layouts

To add the embedded lists of SlapFive objects to the Page Layout of any Salesforce object, such as Opportunity:

Go to the page to which you want to add the embedded lists, click the Setup icon, and click Edit Page.

Scroll down to the Custom Components and drag and drop the SlapFive_References component to the desired location.

Last updated