In the Mass File Download app, you have the option to filter files/attachments. To apply a single filter, use the "Filter" button. For applying multiple filters you can use the "SOQL" option.


Follow these detailed steps: Mass File Download Tab

  1. Open the "Mass File Download" Tab.
  2. Select the Object:
    • Choose the object (e.g., Account, Opportunity) for which you want to download files or attachments.
  3. Choose Search Mode:
    • Select the search mode based on your specific requirements (e.g., List View, SOQL, Record Search).
  4. Apply Filters:
    • Navigate to the "Filter for Related Files and Attachments" section.
    • Select "SOQL" to apply multiple filter conditions.
  5. Define Conditions:
    • Add all the conditions you want to use for filtering. Example:
      ContentDocument.FileType = 'PDF' AND (NOT (ContentDocument.Title LIKE '%massfiledownload%' OR ContentDocument.Title LIKE '%mfd%'))
  6. Search:
    • Click the "Search" button.
  7. View Results:
    • The table below will display the filtered results based on your criteria.

Follow these detailed steps: Mass File Download (Lightning) Tab  

  1. Open the Mass File Download  (Lightning) Tab.
  2. Select the Objects:
    • Choose the objects (e.g., Account, Opportunity) for which you want to download files.
  3. Apply Filters:
    • In the "Filter Files by adding SOQL filter conditions" section.
  4. Define Conditions:
    • Add all the conditions you want to use for filtering. Example:
      ContentDocument.FileType = 'PDF' AND (NOT (ContentDocument.Title LIKE '%massfiledownload%' OR ContentDocument.Title LIKE '%mfd%'))
  5. Search:
    • Click the "Search" button.
  6. View Results:
    • The table below will display the filtered results based on your criteria.

This method helps you efficiently apply multiple conditions to filter specific files and attachments, providing precise results.