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/02/02 12:51] – support@smikar.com | software:squirrel:restore_buttons [2026/03/28 11:49] (current) – support@smikar.com | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | **Overview: [[https:// | + | ===== 🧩 Squirrel |
| - | ** | + | |
| - | The [[https:// | + | ==== 🔍 Overview ==== |
| - | Key Features: | + | The [[https:// |
| - | * One-Click Restore: Quickly restore archived files directly from the SharePoint UI. | + | Deployment is managed entirely through |
| - | | + | |
| - | | + | |
| - | 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 will automatically deploy Archive/ | ||
| + | * **Disabled** — No deployment will occur. Existing buttons already in place are unaffected. | ||
| - | | Obtain the powershell script provided by SmiKar Software. | + | Toggle this on to activate |
| - | | 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 | + | |
| - | | Once completed, | + | |
| - | | + | {{:software: |
| - | We will run the "__Add Button to Individual Site.ps1__" | + | |
| + | === Deployment Scope === | ||
| - | | Open the Powershell script in Visual Studio Code. "" | + | Once deployment |
| - | | 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 | + | |
| + | ^ 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. | | ||
| - | **Step 4: Deleting | + | Select |
| - | We will run the " | + | > ℹ️ **Note:** The nightly deployment process automatically skips system libraries such as the Style Library |
| + | === Site Exclusions === | ||
| - | | Open the Powershell script | + | If there are specific SharePoint sites where you do **not** want Archive/ |
| - | | You will need to update | + | |
| - | | Now that you have saved the file, you are ready to run the script against | + | **To add a site:** |
| - | | 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: | + | - 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 | ||
| + | |||
| + | **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.1738461098.txt.gz · Last modified: 2025/02/02 12:51 by support@smikar.com
