The following article describes the steps for recovering resources that are deleted via the Database Audit Log section.
You can recover the following resources by using the Audit Log section of the Database where the resource belonged:
- Records
- Forms
- Folders
- Fields
You might want to recover the resource because it was deleted by accident for example. Or you might want to recover records in a subform that were deleted following a change in relevance rules that apply to that subform.
Please note the Database Audit Log is available to Database owners and to users granted the permission “Audit user actions”.
How to recover a deleted Form or Folder
- In the Database List page, select the Database where the deleted Form or Folder belongs.
- Click on "Database settings" to open the Database Settings page.
Click on "Audit log" to navigate to the Audit log section.
- You can view the Database Audit Log in this section. You can filter the Audit Log to find the deleted Form or Folder or select the event log directly from the list.
- Once you find the deleted Form or Folder click on "Revert" under the event's name.
- The resource that has been recovered and the label 'Reverted' will appear next to its name. You can view more details about this event in the Audit Log side panel.
How to recover a deleted Field
- Find the the event log where the schema of the relevant Form was updated
- In the right hand details panel, you will see the field that was deleted. Click “Recover latest field version”.
- The Field will be added back to the Form with a timestamp added to the label reflecting when the Field was recovered. Any values previously added to that Field will be reverted as well.
- The event log reflecting the deletion of the Field in the Audit Log will be updated to indicate that the Field has been recovered. Additionally, a new Audit Log event will be logged to indicate the addition of the recovered Field.
If you have made other changes to the Form schema after the Field was deleted, recovering the deleted Field may create conflicts with the current schema. For instance, some relevance rules may no longer apply. We recommend that you review the overall Form schema to ensure that it remains valid after you have recovered the deleted Field.