• Search for the "Excluded Object" tab by clicking on the 9 dots in the top left.
  • If no results were found for the "Excluded Object", then you have to create one tab with the same name. Please follow the steps below.
    1. Go to the Setup and search for "Tabs" in Quick Find. Click on "Tabs" and create a new "Tab" for the object excluded object (Namespace: DownloadFiles). Follow these steps to create a tab: https://help.salesforce.com/articleView?id=creating_custom_object_tabs.htm&type=5.
  • Now, go to the tab "Excluded Object" and click on the "All" List view and follow the instructions mentioned in the screenshot.
     STEP 1 - Go to the "All" list view as shown in step1.

            STEP 2 - Then click on the gear icon on the left panel and add "Fields to display". 

            STEP 3 - Select all the four fields as shown in the screenshot Step 2.

  • Then go to the object record from which your files are associated. For example, if you are downloading files that are related to the Account object, go to the record whose Object API Name is Account, and click on the edit "File Name Suffix" column and add the API name of the field as shown in the screenshot at step 3. So if you want all files/attachments that are associated with Account records to have "Account Number" as the file suffix, we then need to add "AccountNumber" as the API name on the "Files Name Suffix".
  • Hit Save at the bottom of the screen.
  • Now, refresh the MFD tabs if already open and try to download all the files attachments in batch. 
  • You will see all the files will be suffixed with the data from each record. (In our example if two account records (account 1 and account 2) have two files each under them and both the accounts have account number abc1 & abc2 respectively. Then all the files will be renamed to, "fileName - abc1. extension" (for account 1) and "FileName - abc2.extension"  (for account 2).