How to Restore Archived Cases with Emails and File Attachments

Overview

Restoring archived objects that include emails and file attachments requires properly archiving the original case objects along with their related emails and files. This guide details the process of successfully archiving and restoring Case objects containing Emails and file attachments using the Backup & Archive application.

The article uses the Case object as an example, but any object with an email and a file can be used.

Prerequistes

The following conditions are required to complete the instructions in the article. Each is explained in more detail in the sections below.

To complete this example, ensure you are familiar with the following actions in Backup & Archive:

Create Archive Template for Emails and File Attachments

To ensure all related records and attachments are archived and restorable, the archive template must be configured with proper parent-child relationships. See the basic structure below, along with a screenshot of an example Archive Template.

  • Case - Parent Object

    • Content Document - Files related to the Case object

    • Email Message - Emails related to the Case object

      • Content Document - Files related to the Email Messages object

Important

Assign the “Update Email Messages” Permission

Restoring Email Messages with attachments requires the user performing the restore to have the “Update Email Messages” system permission. This is necessary to re-establish relationships between EmailMessages and files, and to update fields such as To, From, Cc, Bcc, and ContentDocument references. Follow these steps:

  1. Log in to your Salesforce org.

  2. Go to Setup

  3. In Quick Find, search for Permission Sets.

  4. Click New or open an existing permission set.

  5. Navigate to System Permissions.

  6. Click Edit.

  7. Search for Update Email Messages and check the box.

  8. Click Save.

  9. Click Manage Assignments > Add Assignments.

  10. Select the user who is used to connect your Salesforce org with your Flosum Cloud Apps.

  11. Click Assign.

What happens without the Update Email Messages permission?

View Restored Emails and Attachments

To verify restored records:

  1. Navigate to the restored Case record

  2. In Activity History, find the restored email

  3. Open the EmailMessage record

  4. In the Related section, click on Attachments

  5. Files attached to the email will appear here

Why are restored email attachments not appearing on the Attachments page?

Last updated

Was this helpful?