This is an old revision of the document!
Overview: Squirrel Restore Buttons for SharePoint
The Squirrel Restore and Archive Buttons integrate seamlessly with SharePoint, providing a user-friendly interface to restore archived files with a single click. This functionality is powered by an SPFx package and a custom Restore column in your SharePoint sites.
Key Features:
- One-Click Restore and Archive: Quickly restore or archive files directly from the SharePoint UI.
- Flexible Configuration: Apply to individual sites or across all SharePoint sites.
- Secure Operations: Restores are managed through secure a custom SPFX extension, and uses the logged in users Entra ID for authentication.
This functionality is powered by a combination of a provided SPFx package and PowerShell scripts, ensuring seamless integration with your SharePoint environment.
Setting Up Restore Buttons in SharePoint
Step 1: Upload the SPFx Package
Obtain the SPFx package provided by SmiKar Software. | ![]() |
Go to your SharePoint Admin Center. (https://TENANTNAME-admin.sharepoint.com/) | ![]() |
Navigate to More Features > Apps > Open. | ![]() |
Click Upload and select the SPFx package. | ![]() |
Optional. Choose All sites to deploy the package to all of your sharepoint sites / or select | ![]() |
The app has now been enabled | ![]() |
Confirm the App shows that the status is enabled and available to all sites. | ![]() |
Add the Restore Column to your SharePoint Sites.
SmiKar will provide you with three powershell scripts. These are;
- Delete and Unassociate Restore Buttons.ps1. This script will remove the Squirrel Restore column from all of your SharePoint Sites.
- Create and associate restore button.ps1. This script will add the Squirrel Restore column to all of your SharePoint Sites.
- Add Button to Individual Site.ps1. This script will add the Squirrel Restore column to one individual SharePoint Site.
- You will need to ensure that you have Global Administrator rights to your SharePoint Tenant
Step 2: Create and Deploy the Restore Column to all your SharePoint Sites.
We will run the “create and associate restore button.ps1” to add the Squirrel Restore Column to all of your current SharePoint Sites.
Step 3: Adding the Restore Column to an individual SharePoint Site.
We will run the “Add Button to Individual Site.ps1” to add the Squirrel Restore Column a specific SharePoint Site. This should be done anytime you create a new SharePoint site, and want the Squirrel Restore button to be available for your end users.
Step 4: Deleting the Restore Column from all of your SharePoint Sites.
We will run the “Delete and Unassociate Restore Buttons.ps1” to delete the Squirrel Restore Columns from all of your SharePoint Sites.