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/26 13:24] – support@smikar.com | software:squirrel:restore_buttons [2026/03/28 11:49] (current) – support@smikar.com | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| The [[https:// | The [[https:// | ||
| - | This feature | + | Deployment |
| **Key Features:** | **Key Features:** | ||
| - | - ✅ One-Click Archive & Restore directly from SharePoint | + | * ✅ One-Click Archive & Restore directly from SharePoint |
| - | - 🔐 Secure authentication using the logged-in user’s **Entra ID (formerly Azure AD)** | + | |
| - | - 🔁 Easy deployment | + | * ⚙️ Fully portal-managed |
| - | - ⚙️ Works across all sites or can be targeted | + | * 🔔 Configurable restore confirmation thresholds |
| ---- | ---- | ||
| - | ==== 🧱 Step 1: Upload | + | ==== 🖥️ Accessing |
| - | | 📦 Obtain the SPFx package from SmiKar Software. | {{: | + | |
| - | | 🔧 Go to your SharePoint Admin Center (`https:// | + | - Navigate to **Settings** and click the **Button Deployment** button. |
| - | | 🧭 Navigate | + | |
| - | | ⬆️ Click **Upload** and select | + | |
| - | | 🗂️ Choose to deploy to **all sites** or a specific collection. | {{: | + | |
| - | | ✅ The app will now be enabled. | {{:software: | + | |
| - | | 🔍 Confirm the app shows as " | + | |
| ---- | ---- | ||
| - | ==== 📌 Step 2: Deploy the Restore Column to All SharePoint Sites ==== | + | ==== ⚙️ Configure Deployment (Deployment Tab) ==== |
| - | SmiKar provides three PowerShell scripts: | + | === Enable Button Deployment === |
| - | - `Create and associate restore button.ps1` – Adds the Restore column to **all sites** | + | At the top of the Deployment tab you will find an **Enable |
| - | - `Add Button | + | |
| - | - `Delete and Unassociate Restore Buttons.ps1` – Removes the Restore column from all sites | + | |
| - | > 🛡️ | + | |
| + | | ||
| - | **Deploying | + | Toggle this on to activate the service. |
| - | | 🛠️ Open `Create and associate restore button.ps1` in Visual Studio Code. | {{: | + | {{: |
| - | | ✏️ Update the tenant name on **line 2**. Replace `" | + | |
| - | | ▶️ Press **F5** to run the script. It will loop through your SharePoint sites and add the Restore column. | {{: | + | |
| - | | ✅ Once completed, you will see: "🎉 ✅ SPFx Field Customizer installed and associated on all sites!" | + | |
| - | | 🔍 Confirm the Restore column appears in any document library where a file has been archived. | {{: | + | |
| - | ---- | + | === Deployment Scope === |
| - | ==== 🔄 Step 3: Deploy to an Individual SharePoint Site ==== | + | Once deployment is enabled, choose one of two deployment scope options: |
| - | When a new SharePoint site is created, run this script | + | ^ Option ^ Description ^ |
| + | | **Deploy buttons | ||
| + | | **Deploy buttons only to Archive-enabled Sites** | Buttons will only be deployed to sites that have Squirrel archiving actively enabled. | | ||
| - | | 🛠️ Open `Add Button to Individual Site.ps1` in Visual Studio Code. | {{: | + | Select the option that matches |
| - | | ✏️ On **line 2**, update `" | + | |
| - | | ▶️ Press **F5** to run the script. | {{: | + | |
| - | | ✅ Success message: "🎉 ✅ Restore button added successfully to Your New Site URL" | {{: | + | |
| - | | 🔍 Verify the column is present in the document library of the new site. | {{: | + | |
| - | ---- | + | > ℹ️ **Note:** The nightly deployment process automatically skips system libraries such as the Style Library and Site Assets regardless of the scope selected. |
| - | ==== 🧹 Step 4: Delete the Restore Column from All Sites ==== | + | === Site Exclusions |
| - | Use this when you need to **fully remove** the Squirrel | + | If there are specific SharePoint sites where you do **not** want Archive/Restore |
| - | | 🗑️ Open `Delete and Unassociate Restore Buttons.ps1` | + | **To add a site:** |
| - | | ✏️ Update the tenant name on **line 2** with your tenant’s actual name. | {{: | + | |
| - | | ▶️ Press **F5** to run the script. | {{: | + | - Enter the full SharePoint site URL in the input field (e.g. '' |
| - | | ✅ Confirmation: | + | - Click **Add Site** (or press Enter). |
| - | | 🔍 Visit a few SharePoint document libraries | + | - The site will appear in the exclusion list and will be skipped during the next nightly deployment run. |
| + | |||
| + | **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 are attributed to your logged-in account. | ||
| ---- | ---- | ||
| - | Need assistance with deployment or scripts? Contact [support@smikar.com](mailto: | ||
| + | ==== 💡 How the Nightly Deployment Works ==== | ||
| + | |||
| + | Once deployment is enabled, Squirrel runs an automated process each night that: | ||
| + | |||
| + | - Loops through all SharePoint sites in your tenant (or only archive-enabled sites, depending on your scope setting). | ||
| + | - Adds the Archive/ | ||
| + | - 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.1742955874.txt.gz · Last modified: 2025/03/26 13:24 by support@smikar.com
