software:squirrel:restore_buttons
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| software:squirrel:restore_buttons [2025/03/12 18:14] – support@smikar.com | software:squirrel:restore_buttons [2026/03/28 11:49] (current) – support@smikar.com | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | **Overview: [[https:// | + | ===== 🧩 Squirrel Archive and Restore Buttons for SharePoint |
| - | The [[https:// | + | ==== 🔍 Overview ==== |
| - | Key Features: | + | The [[https:// |
| - | * One-Click Restore and Archive: Quickly restore or archive files directly from the SharePoint UI. | + | Deployment is managed entirely through |
| - | | + | |
| - | * Secure Operations: Restores | + | |
| - | This functionality is powered by a combination of a provided SPFx package and PowerShell scripts, ensuring seamless integration with your SharePoint environment. | + | **Key Features:** |
| + | * ✅ One-Click Archive & Restore directly from SharePoint | ||
| + | * 🔐 Secure authentication using the logged-in user's **Entra ID (formerly Azure AD)** | ||
| + | * ⚙️ Fully portal-managed deployment — enable, scope, and exclude sites without leaving the browser | ||
| + | * 🔔 Configurable restore confirmation thresholds to protect users from accidental large restores | ||
| - | **Setting Up Restore Buttons in SharePoint** | + | ---- |
| - | Step 1: Upload | + | ==== 🖥️ Accessing |
| - | | Obtain | + | - Log in to the **Squirrel Portal**. |
| - | | Go to your SharePoint Admin Center. (https:// | + | - Navigate to **Settings** and click the **Button Deployment** button. |
| - | | Navigate to **More Features > Apps > Open**. | {{: | + | - The page contains two tabs: **Deployment** |
| - | | 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 | {{:software: | + | |
| - | | Confirm the App shows that the status is enabled | + | |
| - | **Add the Restore Column to your SharePoint Sites.** | + | ---- |
| - | SmiKar will provide you with three powershell scripts. These are; | + | ==== ⚙️ Configure Deployment (Deployment Tab) ==== |
| - | * 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 | + | |
| + | === Enable Button Deployment === | ||
| - | **Step 2: Create and Deploy the Restore Column to all your SharePoint Sites.** | + | At the top of the Deployment tab you will find an **Enable Button Deployment** toggle. |
| - | We will run the " | + | * **Enabled** — Squirrel |
| + | * **Disabled** — No deployment will occur. Existing buttons already in place are unaffected. | ||
| + | Toggle this on to activate the service. | ||
| - | | Obtain the powershell script provided by SmiKar Software. | + | {{: |
| - | | Open the Powershell script in Visual Studio Code | | + | |
| - | | You will need to update the powershell script, with the Tenant Name of your SharePoint environment. On line 2, within the brackets replace " | + | |
| - | | Now that you have saved the file, you are ready to run the script against your SharePoint Environment. Within Visual Studio Code, press F5 to start running the script. The script will now run through all your SharePoint Sites, and add the Restore Column to each Document Library. | + | |
| - | | Once completed, you should see the script say "🎉 ✅ SPFx Field Customizer installed and associated on all sites!" | + | |
| - | | Once completed, to confirm, choose a document library from one of your SharePoint Sites. You should now see a Restore Column for the Squirrel Restore Button to show when a file is archived by Squirrel. | {{: | + | |
| - | | + | === Deployment Scope === |
| - | We will run the "__Add Button to Individual Site.ps1__" | + | Once deployment is enabled, choose one of two deployment scope options: |
| + | ^ Option ^ Description ^ | ||
| + | | **Deploy buttons to all Sites** | Archive/ | ||
| + | | **Deploy buttons only to Archive-enabled Sites** | Buttons will only be deployed to sites that have Squirrel archiving actively enabled. | | ||
| - | | Open the Powershell script in Visual Studio Code. "" | + | Select |
| - | | You will need to update the powershell script, with the Tenant Name of your SharePoint environment. On line 2, within the brackets replace " | + | |
| - | | Now that you have saved the file, you are ready to run the script against your SharePoint Environment. Within Visual Studio Code, press F5 to start running the script. | + | |
| - | | Once it has completed, the script will respond with "🎉 ✅ Restore button added successfully to Your New Site URL" | + | |
| - | | Now you confirm the column is available on your New SharePoint Site. Go to your new Document Library, and verify you can see the Restore Column is available. |{{: | + | |
| + | > ℹ️ **Note:** The nightly deployment process automatically skips system libraries such as the Style Library and Site Assets regardless of the scope selected. | ||
| - | **Step 4: Deleting the Restore Column from all of your SharePoint Sites.** | + | === Site Exclusions === |
| - | We will run the " | + | If there are specific SharePoint sites where you do **not** want Archive/Restore |
| + | **To add a site:** | ||
| - | | Open the Powershell script | + | - Enter the full SharePoint site URL in the input field (e.g. '' |
| - | | You will need to update | + | - Click **Add Site** (or press Enter). |
| - | | Now that you have saved the file, you are ready to run the script against | + | - The site will appear in the exclusion list and will be skipped during |
| - | | Once it has completed deleting the Restore Column from all of your SharePoint | + | |
| - | | To confirm that the Restore Column has been removed, you can visit a few sites and look at the document libraries to visually see the column no longer exists. Make sure to refresh your page to ensure its not cached. | {{:software: | + | **To remove a site:** |
| + | |||
| + | - Locate | ||
| + | - Click the ✕ button next to the site URL. | ||
| + | - The site will be removed from the exclusion list and will receive buttons on the next nightly run. | ||
| + | |||
| + | > 🛡️ **Note:** You must be authenticated in the portal to make changes. All changes | ||
| + | |||
| + | ---- | ||
| + | |||
| + | |||
| + | ==== 💡 How the Nightly Deployment Works ==== | ||
| + | |||
| + | Once deployment is enabled, Squirrel runs an automated process each night that: | ||
| + | |||
| + | - Loops through | ||
| + | - Adds the Archive/Restore | ||
| + | - Skips system libraries (Style Library, Site Assets, etc.). | ||
| + | - Skips any sites listed in the Site Exclusions list. | ||
| + | |||
| + | No manual intervention is required after initial configuration. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | Need assistance with deployment configuration? | ||
software/squirrel/restore_buttons.1741763670.txt.gz · Last modified: 2025/03/12 18:14 by support@smikar.com
