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/14 20:44] – support@smikar.com | software:squirrel:restore_buttons [2026/03/28 11:49] (current) – support@smikar.com | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Squirrel Archive and Restore Buttons for SharePoint ===== | + | ===== 🧩 Squirrel Archive and Restore Buttons for SharePoint ===== |
| - | **Overview: [[https:// | + | ==== 🔍 Overview |
| - | The [[https:// | + | The [[https:// |
| - | Key Features: | + | Deployment is managed entirely through the **Squirrel Portal** — no PowerShell scripts or manual SPFx package uploads are required. |
| - | | + | **Key Features:** |
| - | | + | |
| - | | + | |
| - | This functionality is powered by a combination of a provided SPFx package and PowerShell scripts, ensuring seamless integration with your SharePoint | + | * ✅ 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** | + | ==== 🖥️ Accessing the Button Deployment Settings ==== |
| - | Step 1: Upload | + | - Log in to the **Squirrel Portal**. |
| + | - Navigate to **Settings** and click the **Button Deployment** button. | ||
| + | - The page contains two tabs: **Deployment** and **Restore Thresholds**. | ||
| - | | Obtain the SPFx package provided by SmiKar Software. | {{: | + | ---- |
| - | | Go to your SharePoint Admin Center. (https:// | + | |
| - | | 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.** | + | ==== ⚙️ Configure Deployment (Deployment Tab) ==== |
| - | SmiKar will provide you with three powershell scripts. These are; | + | === Enable |
| - | * 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 | + | |
| - | * You will need to ensure that you have **Global Administrator rights** to your SharePoint Tenant | + | |
| + | At the top of the Deployment tab you will find an **Enable Button Deployment** toggle. | ||
| - | **Step 2: Create and Deploy the Restore | + | |
| + | | ||
| - | We will run the " | + | Toggle this on to activate |
| + | {{: | ||
| - | | Obtain the powershell script provided by SmiKar Software. | + | === Deployment Scope === |
| - | | 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. | {{: | + | |
| - | | + | Once deployment is enabled, choose one of two deployment scope options: |
| - | We will run the "__Add Button | + | ^ Option ^ Description ^ |
| + | | **Deploy buttons | ||
| + | | **Deploy buttons only to Archive-enabled Sites** | Buttons will only be deployed to sites that have Squirrel archiving actively enabled. | | ||
| + | Select the option that matches your rollout preference. Changes are saved immediately. | ||
| - | | Open the Powershell script in Visual Studio Code. "" | + | > ℹ️ **Note:** The nightly deployment process automatically skips system libraries such as the Style Library |
| - | | You will need to update | + | |
| - | | 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. |{{: | + | |
| + | === Site Exclusions === | ||
| - | **Step 4: Deleting the Restore Column from all of your SharePoint Sites.** | + | If there are specific SharePoint sites where you do **not** want Archive/ |
| - | We will run the " | + | **To add a site:** |
| + | - Enter the full SharePoint site URL in the input field (e.g. '' | ||
| + | - Click **Add Site** (or press Enter). | ||
| + | - The site will appear in the exclusion list and will be skipped during the next nightly deployment run. | ||
| - | | Open the Powershell script | + | **To remove a site:** |
| - | | You will need to update | + | |
| - | | Now that you have saved the file, you are ready to run the script against | + | - Locate |
| - | | Once it has completed deleting the Restore Column from all of your SharePoint Sites, the script will return "🎉 ✅ All Restore | + | - Click the ✕ button next to the site URL. |
| - | | 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: | + | - 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 | ||
| + | |||
| + | ---- | ||
| + | |||
| + | |||
| + | ==== 💡 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.1741945454.txt.gz · Last modified: 2025/03/14 20:44 by support@smikar.com
