# Adding Backup History Button to Objects

## ![](https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fgit-blob-3f6faa4230b72167926fbc0a31dd17dc7d74581d%2FSummary2-Small-Icon.svg?alt=media) Overview

The Backup History button must be added to an object's List View before it is used for the first time. This step is only required once per object. This guide will show you how to complete the process.

{% hint style="info" %}
To use Backup History with different object types, add a Backup History button to each object's List View.
{% endhint %}

## Add Backup History Button

{% stepper %}
{% step %}

### Open Object in Object Manager

1. Click the **Gear Icon** in the upper right of the window.
2. Click **Setup** from the dropdown menu.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2F0K8DspcsExzNnvGZTOF8%2FAddingBackupHistoryButton-S01-01.png?alt=media&#x26;token=ce0e5255-bdb9-4186-8fcc-9bf644561303" alt="" width="563"><figcaption></figcaption></figure></div>
3. Search for **Object Manager** from the left sidebar.
4. Click **Object Manager** in the left sidebar.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FKCg55oiG2kWfHjuDahBu%2FAddingBackupHistoryButton-S01-02.png?alt=media&#x26;token=6c0c3b7d-a7e2-4585-844c-8e712171d330" alt="" width="563"><figcaption></figcaption></figure></div>
5. Search or scroll to find the Object to which you wish to add the Backup History button.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fk7Hai67XG9S6nhdwWNuE%2FAddingBackupHistoryButton-S01-03.png?alt=media&#x26;token=991e19df-dccf-4045-8157-c5f4bea8e015" alt="" width="563"><figcaption></figcaption></figure></div>
6. Click the **Object** upon locating it.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FhXVXSXzxcoXnyBLY3Vfr%2FAddingBackupHistoryButton-S01-04.png?alt=media&#x26;token=2d0e4548-09b5-4ed0-96f4-497ce92a34eb" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Create Button

1. Click **Buttons, Links, and Actions** from the left sidebar.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2F3w7hcK1eQ8fm0gCKIi45%2FAddingBackupHistoryButton-S02-01.png?alt=media&#x26;token=5e141b2e-2523-4693-9fc3-41b6d5ab0f92" alt="" width="563"><figcaption></figcaption></figure></div>
2. Click **New Button or Link**.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FsIZQFLs7DLnVCtwN2ZVx%2FAddingBackupHistoryButton-S02-02.png?alt=media&#x26;token=50ccf06b-b4e4-4694-a73f-8bbc27526817" alt="" width="563"><figcaption></figcaption></figure></div>
3. Complete the **Custom Button or Link Edit** form with the following information:&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FTp3Z7cBowPEhcqIyhONe%2FAddingBackupHistoryButton-S02-03.png?alt=media&#x26;token=0c1802f7-6712-4b6d-a4bc-84cb00a022ea" alt="" width="563"><figcaption></figcaption></figure></div>

<table><thead><tr><th width="260.3333740234375">Field</th><th>Value</th></tr></thead><tbody><tr><td><strong>Label</strong> </td><td><strong>Backup History</strong></td></tr><tr><td><strong>Name</strong></td><td><strong>Backup_History</strong></td></tr><tr><td><strong>Display Type</strong></td><td><strong>List Button</strong></td></tr><tr><td><strong>Display Checkboxes (for Multi-Record Selection)</strong></td><td><strong>Checked</strong></td></tr><tr><td><strong>Behavior</strong></td><td><strong>Display in existing window with sidebar</strong></td></tr><tr><td><strong>Content Source</strong></td><td><strong>URL</strong></td></tr><tr><td>Multi-Line Textbox below fields</td><td><code>/lightning/n/Backup_History?c__objectName=</code><mark style="color:red;"><code>${objectApiName}</code></mark></td></tr></tbody></table>

{% hint style="info" %}
In the **Multi-Line Textbox**, replace <mark style="color:red;">`${objectApiName}`</mark> with the name of the object you're adding the button to. For the **Opportunity** object, the value entered is `/lightning/n/Backup_History?c__objectName=Opportunity`.
{% endhint %}

4. Click **Save**.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FznmuZ9Y2ZpmzSvszq4GU%2FAddingBackupHistoryButton-S02-04.png?alt=media&#x26;token=a5392845-c507-42fc-86b7-6e490195786a" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Add Button to List View

1. Click **List View Button Layout** from the left sidebar.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FZmjlDQeGPxjWeG8O87Re%2FAddingBackupHistoryButton-S03-01.png?alt=media&#x26;token=f045c27c-f141-47f4-9303-af41bbe2c8a4" alt="" width="563"><figcaption></figcaption></figure></div>
2. Click the **Down Arrow** dropdown menu at the right side of the **List View** layout.
3. Click **Edit**.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FJCXU8QlxVIac2I2fBiLe%2FAddingBackupHistoryButton-S03-02.png?alt=media&#x26;token=211d8c9c-ba75-49d1-ac3c-7880990ec3ec" alt="" width="563"><figcaption></figcaption></figure></div>
4. Select **Backup History** from the **Custom Buttons > Available Buttons** list.
5. Click the **Add Arrow** to move **Backup History** to the **Selected Buttons** list.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FTo5QTUb9VEOCV6bQO0Pd%2FAddingBackupHistoryButton-S03-03.png?alt=media&#x26;token=37609804-122c-4a22-ae8c-a7109be237ac" alt="" width="563"><figcaption></figcaption></figure></div>
6. Click **Save**.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fo7nz1acp1O1uUITltJm4%2FAddingBackupHistoryButton-S03-04.png?alt=media&#x26;token=ca0a5aa0-5ec9-4ced-a53a-a1b3282b0ed6" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### View Backup History

1. Go to the Object to which you added the **Backup History** button.
2. The **Backup History** button will now appear with the other List View buttons.&#x20;

   <div align="left"><figure><img src="https://646917531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FX4hn7GK340wV93A8CKru%2FAddingBackupHistoryButton-S04-01.png?alt=media&#x26;token=b9c4f4d3-55e7-4506-8319-2be52379bf95" alt="" width="563"><figcaption></figcaption></figure></div>
3. Follow the instructions in the article below to learn how to use Backup History.
4. [viewing-object-backup-history](https://docs.flosum.com/backup-and-archive/backup-and-archive-in-salesforce/backup-history/viewing-object-backup-history "mention")
   {% endstep %}
   {% endstepper %}
