9. Configure Embedded Lists
This step lets you configure the SlapFive Reference Content and Customers component.
Last updated
This step lets you configure the SlapFive Reference Content and Customers component.
Last updated
This is the SlapFive Reference Content and 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 Opportunity and Account page layouts.
Go to Setup > Custom Code > Custom Metadata Types.
Find SlapFive Object Reference in the list and click on Manage Records.
In the list of SlapFive Object References, 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:
Since the SlapFive Salesforce App is a managed package, you can only edit these fields:
If you want to change the Label of the tab for any embedded list or change the Order in which the tab appears from left to right, you need to Clone the Custom Metadata Type as described next.
In the list of SlapFive Object References, click the Label of the SlapFive object, and click the Clone button. You can change any field in the cloned SlapFive object. When you make it Active, remember to edit the original SlapFive Object Reference to make it inactive.
To filter the list of Boards to only show those that you have flagged in SlapFive to appear in Salesforce:
Go to Setup > Custom Code > Custom Metadata Types.
Bring up the Edit page for Boards.
Append the Embedded URL field to be: /client/boards/embed?custom_showInSalesforce=Yes
In SlapFive, if you haven't already:
Go to the Templates used by any Boards you want to appear, and add a Custom Field to that template called Show in Salesforce.
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.
To filter the list of Stories to only show those that you have flagged to appear in Salesforce:
Go to Setup > Custom Code > Custom Metadata Types.
Bring up the Edit page for Stories.
Append the Embedded URL field to be: /client/stories/embed?dynamicField_showInSalesforce=Yes
In SlapFive, if you haven't already:
Go to Client Settings and add a Dynamic Field to the Stories entity called Show in Salesforce, with a Type of YESNO.
Go to the Stories tab, and for any Stories you want to appear in Salesforce, turn on the Dynamic Field Show in Salesforce.
To change the label of the embedded lists component from SlapFive Reference Content and 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.
To change the label of the top-level Tab that the embedded lists appear on from SlapFive Reference Content and Customers to a name of your choosing:
Go to Setup > User Interface > Tabs.
For Lightning, click Edit next to label SlapFive Reference Content and Customers. For Classic, click Edit next to label SlapFive Reference Content and Customers (Classic).
Type in your desired text in the Tab Label field and click Save.
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.