This tutorial walks you through how to create a related list of files that have been attached to Account records in Salesforce, and then display this list on the C360. For the purposes of this tutorial, we assume that files have already been attached to Account records in Salesforce. For more information on attaching files in Salesforce, please see this document.
Below is an example of a file attachment in Salesforce:
Note: It is not possible for the C360 to directly display documents that are attached to Accounts in Salesforce. The related list displays a link to where the document is stored in Salesforce for viewing or downloading.
Create the Related List
- Navigate to the Report Builder.
- Click +REPORT in the top-right to create a new report.
- Select the Attachment object as your data source.
- Select fields in the Show me section of the report that you would like to display on the C360. These fields will be related to the files you have attached in Salesforce. For example, we selected the Account Name, the File Name, the Content Type of the file, and the Created Date of the file. Below is an example report:
5. Enter a report name and Save the report.
Add the list to the Customer360
- Navigate to Administration > Analytics > CS360 Layouts, and edit the relevant layout (or create a new one).
In the relevant layout, drag the Section/Embed Page option from the left pane to the right, and click the configuration gear on the new section. You can use the pencil icon to change the name of this section.
Under Type: Select Related List to create a section based on reports.
Under Source, select the Attachment object, since that’s the object our report is based off of.
Select reports to be shown in this section: After you select a source, the list of all reports configured using the object are displayed. Select the report you created in the previous section.
Save the configurations.
Access the file from the C360
Navigate to the C360 for a relevant customer to view the related list. Below is an example of how the related list will appear:
- In order to access the attached file, click the eye icon under the action column of the related list. The pencil icon gives the option to edit the name of the attachment.
This will direct you to where the file is stored in Salesforce. From there, it can be viewed and edited.