> For the complete documentation index, see [llms.txt](https://docs.flosum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flosum.com/backup-and-archive/backup-and-archive-docs-pt-br/backup-e-arquivo-no-salesforce/historico-de-backup/adicionando-o-botao-historico-de-backup-aos-objetos.md).

# Adicionando o botão Histórico de Backup aos objetos

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

O botão Backup History deve ser adicionado à Visualização de Lista de um objeto antes de ser usado pela primeira vez. Esta etapa só é necessária uma vez por objeto. Este guia mostrará como concluir o processo.

{% hint style="info" %}
Para usar o Backup History com diferentes tipos de objeto, adicione um botão Backup History à Visualização de Lista de cada objeto.
{% endhint %}

## Adicionar botão Backup History

{% stepper %}
{% step %}

### Abrir objeto no Gerenciador de Objetos

1. Clique no **ícone de engrenagem** no canto superior direito da janela.
2. Clique em **Configuração** no menu suspenso.&#x20;

   <div align="left"><figure><img src="https://1704501280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2F0K8DspcsExzNnvGZTOF8%2FAddingBackupHistoryButton-S01-01.png?alt=media&amp;token=ce0e5255-bdb9-4186-8fcc-9bf644561303" alt="" width="563"><figcaption></figcaption></figure></div>
3. Pesquise por **Gerenciador de Objetos** na barra lateral esquerda.
4. Clique em **Gerenciador de Objetos** na barra lateral esquerda.&#x20;

   <div align="left"><figure><img src="https://1704501280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FKCg55oiG2kWfHjuDahBu%2FAddingBackupHistoryButton-S01-02.png?alt=media&amp;token=6c0c3b7d-a7e2-4585-844c-8e712171d330" alt="" width="563"><figcaption></figcaption></figure></div>
5. Pesquise ou role para encontrar o objeto ao qual você deseja adicionar o botão Backup History.&#x20;

   <div align="left"><figure><img src="https://1704501280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2Fk7Hai67XG9S6nhdwWNuE%2FAddingBackupHistoryButton-S01-03.png?alt=media&amp;token=991e19df-dccf-4045-8157-c5f4bea8e015" alt="" width="563"><figcaption></figcaption></figure></div>
6. Clique no **Objeto** ao localizá-lo.&#x20;

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

{% endstep %}

{% step %}

### Criar botão

1. Clique em **Botões, links e ações** na barra lateral esquerda.&#x20;

   <div align="left"><figure><img src="https://1704501280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2F3w7hcK1eQ8fm0gCKIi45%2FAddingBackupHistoryButton-S02-01.png?alt=media&amp;token=5e141b2e-2523-4693-9fc3-41b6d5ab0f92" alt="" width="563"><figcaption></figcaption></figure></div>
2. Clique em **Novo botão ou link**.&#x20;

   <div align="left"><figure><img src="https://1704501280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FsIZQFLs7DLnVCtwN2ZVx%2FAddingBackupHistoryButton-S02-02.png?alt=media&amp;token=50ccf06b-b4e4-4694-a73f-8bbc27526817" alt="" width="563"><figcaption></figcaption></figure></div>
3. Preencha o **formulário de edição de botão ou link personalizado** com as seguintes informações:&#x20;

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

<table><thead><tr><th width="260.3333740234375">Campo</th><th>Valor</th></tr></thead><tbody><tr><td><strong>Rótulo</strong> </td><td><strong>Backup History</strong></td></tr><tr><td><strong>Nome</strong></td><td><strong>Backup_History</strong></td></tr><tr><td><strong>Tipo de exibição</strong></td><td><strong>Botão de lista</strong></td></tr><tr><td><strong>Exibir caixas de seleção (para seleção de vários registros)</strong></td><td><strong>Marcado</strong></td></tr><tr><td><strong>Comportamento</strong></td><td><strong>Exibir na janela existente com barra lateral</strong></td></tr><tr><td><strong>Fonte do conteúdo</strong></td><td><strong>URL</strong></td></tr><tr><td>Caixa de texto de várias linhas abaixo dos campos</td><td><code>/lightning/n/FpPkB__Backup_History?c__objectName=${objectApiName}</code></td></tr></tbody></table>

{% hint style="info" %}
Na **Caixa de texto de várias linhas**, substitua <mark style="color:vermelho;">`${objectApiName}`</mark> pelo nome do objeto ao qual você está adicionando o botão. Para o **Oportunidade** objeto, o valor inserido é `/lightning/n/FpPkB__Backup_History?c__objectName=Opportunity`.
{% endhint %}

4. Clique em **Salvar**.&#x20;

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

{% endstep %}

{% step %}

### Adicionar botão à Visualização de Lista

1. Clique em **Layout de botões da Visualização de Lista** na barra lateral esquerda.&#x20;

   <div align="left"><figure><img src="https://1704501280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FZmjlDQeGPxjWeG8O87Re%2FAddingBackupHistoryButton-S03-01.png?alt=media&amp;token=f045c27c-f141-47f4-9303-af41bbe2c8a4" alt="" width="563"><figcaption></figcaption></figure></div>
2. Clique no **Seta para baixo** menu suspenso no lado direito do **Visualização de Lista** layout.
3. Clique em **Editar**.&#x20;

   <div align="left"><figure><img src="https://1704501280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FJCXU8QlxVIac2I2fBiLe%2FAddingBackupHistoryButton-S03-02.png?alt=media&amp;token=211d8c9c-ba75-49d1-ac3c-7880990ec3ec" alt="" width="563"><figcaption></figcaption></figure></div>
4. Selecione **Backup History** da **Botões personalizados > Botões disponíveis** lista.
5. Clique no **Adicionar seta** para mover **Backup History** para os **Botões selecionados** lista.&#x20;

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

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

{% endstep %}

{% step %}

### Ver histórico de backup

1. Vá para o objeto ao qual você adicionou o **Backup History** botão.
2. O **Backup History** botão agora aparecerá com os outros botões da Visualização de Lista.&#x20;

   <div align="left"><figure><img src="https://1704501280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Focom3JROuDKOidclKbQx%2Fuploads%2FX4hn7GK340wV93A8CKru%2FAddingBackupHistoryButton-S04-01.png?alt=media&amp;token=b9c4f4d3-55e7-4506-8319-2be52379bf95" alt="" width="563"><figcaption></figcaption></figure></div>
3. Siga as instruções no artigo abaixo para aprender a usar o Backup History.
4. [Visualizando o histórico de backup do objeto](/backup-and-archive/backup-and-archive-docs-pt-br/backup-e-arquivo-no-salesforce/historico-de-backup/visualizando-o-historico-de-backup-do-objeto.md)
   {% endstep %}
   {% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.flosum.com/backup-and-archive/backup-and-archive-docs-pt-br/backup-e-arquivo-no-salesforce/historico-de-backup/adicionando-o-botao-historico-de-backup-aos-objetos.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
