software:squirrel:restore_buttons
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
software:squirrel:restore_buttons [2025/03/14 20:44] – support@smikar.com | software:squirrel:restore_buttons [2025/03/26 13:24] (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: | + | This feature is powered by a lightweight **SPFx package** and a **custom Restore column**, which you can deploy to one or all SharePoint sites using provided PowerShell scripts. |
- | | + | **Key Features:** |
- | | + | |
- | | + | |
- | This functionality is powered by a combination of a provided | + | - ✅ One-Click Archive & Restore directly from SharePoint |
+ | - 🔐 Secure authentication using the logged-in user’s **Entra ID (formerly Azure AD)** | ||
+ | - 🔁 Easy deployment via SPFx package and PowerShell | ||
+ | - ⚙️ Works across all sites or can be targeted to individual | ||
+ | ---- | ||
- | **Setting Up Restore Buttons in SharePoint** | + | ==== 🧱 Step 1: Upload the SPFx Package ==== |
- | Step 1: Upload the SPFx Package | + | | 📦 Obtain the SPFx package from SmiKar Software. | {{:software: |
+ | | 🔧 Go to your SharePoint Admin Center (`https:// | ||
+ | | 🧭 Navigate to **More Features > Apps > Open**. | {{: | ||
+ | | ⬆️ Click **Upload** and select | ||
+ | | 🗂️ Choose to deploy to **all sites** or a specific collection. | {{: | ||
+ | | ✅ The app will now be enabled. | {{: | ||
+ | | 🔍 Confirm the app shows as " | ||
- | | 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.** | + | ==== 📌 Step 2: Deploy |
- | SmiKar | + | SmiKar |
- | * 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 | + | |
+ | - `Create and associate restore button.ps1` – Adds the Restore column to **all sites** | ||
+ | - `Add Button to Individual Site.ps1` – Adds the Restore column to a **single site** | ||
+ | - `Delete and Unassociate Restore Buttons.ps1` – Removes the Restore column from all sites | ||
- | **Step 2: Create and Deploy the Restore Column to all your SharePoint Sites.** | + | > 🛡️ |
- | We will run the " | + | **Deploying |
+ | | 🛠️ 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. | {{: | ||
- | | 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. | {{: | + | |
- | **Step 3: Adding the Restore Column | + | ==== 🔄 Step 3: Deploy |
- | We will run the "__Add Button to Individual Site.ps1__" | + | When a new SharePoint site is created, run this script to enable |
+ | | 🛠️ Open `Add Button to Individual Site.ps1` in Visual Studio Code. | {{: | ||
+ | | ✏️ 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. | {{: | ||
- | | 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. | + | |
- | | 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. |{{: | + | |
+ | ==== 🧹 Step 4: Delete the Restore Column from All Sites ==== | ||
- | **Step 4: Deleting | + | Use this when you need to **fully remove** the Squirrel |
- | We will run the " | + | | 🗑️ Open `Delete |
+ | | ✏️ Update the tenant name on **line 2** with your tenant’s actual name. | {{: | ||
+ | | ▶️ Press **F5** | ||
+ | | ✅ Confirmation: | ||
+ | | 🔍 Visit a few SharePoint | ||
+ | ---- | ||
+ | |||
+ | Need assistance with deployment or scripts? Contact [support@smikar.com](mailto: | ||
- | | 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. | ||
- | | Once it has completed deleting the Restore Column from all of your SharePoint Sites, the script will return "🎉 ✅ All Restore columns have been fully deleted from all sites!" | ||
- | | 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/squirrel/restore_buttons.1741945454.txt.gz · Last modified: 2025/03/14 20:44 by support@smikar.com