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 11:26] – support@smikar.com | software:squirrel:restore_buttons [2025/03/26 13:24] (current) – support@smikar.com | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | **Overview: | + | ===== 🧩 Squirrel |
- | ** | + | |
- | The Squirrel Restore Buttons provide an intuitive way for end users to manage archived files directly within the SharePoint interface. With these buttons, users can: | + | |
- | * Quickly Identify Archived Files: The restore button highlights which files have been archived, making it easy to spot them at a glance. | + | ==== 🔍 Overview ==== |
- | * Restore with a Single Click: No need for complex processes—users can restore archived files effortlessly by clicking the button within the SharePoint UI. | + | |
- | This functionality is powered by a combination of a provided SPFx package | + | The [[https:// |
+ | 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. | ||
- | **Setting Up Restore Buttons in SharePoint** | + | **Key Features:** |
- | Step 1: Upload the SPFx Package | + | |
- | | Obtain the SPFx package provided by SmiKar Software. | {{: | + | - ✅ One-Click Archive & Restore directly from SharePoint |
- | | Go to your SharePoint Admin Center. (https:// | + | - 🔐 Secure authentication using the logged-in user’s |
- | | Navigate to **More Features > Apps > Open**. | {{: | + | - 🔁 Easy deployment via SPFx package |
- | | Click **Upload** and select the SPFx package. |{{: | + | - ⚙️ Works across |
- | | Optional. Choose All sites to deploy the package to all of your sharepoint | + | |
- | | The app has now been enabled | {{: | + | |
- | | Confirm the App shows that the status is enabled and available | + | |
- | **Add the Restore Column to your SharePoint Sites.** | + | ---- |
- | SmiKar will provide you with three powershell scripts. These are; | + | |
- | * 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 | + | |
+ | ==== 🧱 Step 1: Upload the SPFx Package ==== | ||
- | **Step 2: Create | + | | 📦 Obtain the SPFx package from SmiKar Software. | {{: |
- | We will run the "__create | + | | 🔧 Go to your SharePoint Admin Center (`https:// |
+ | | 🧭 Navigate to **More Features > Apps > Open**. | {{:software: | ||
+ | | ⬆️ Click **Upload** | ||
+ | | 🗂️ Choose | ||
+ | | ✅ The app will now be enabled. | {{: | ||
+ | | 🔍 Confirm | ||
+ | ---- | ||
- | | Obtain the powershell script provided by SmiKar Software. | + | ==== 📌 Step 2: Deploy |
- | | 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, 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. | | | + | |
- | | + | SmiKar provides three PowerShell scripts: |
- | We will run the "__Add Button to Individual Site.ps1__" | + | |
+ | - `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 | ||
- | | Obtain the powershell script provided by SmiKar Software. | + | > 🛡️ **Note: |
- | | 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. | | | + | |
+ | **Deploying to All Sites:** | ||
+ | | 🛠️ 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. | {{: | ||
+ | ---- | ||
+ | ==== 🔄 Step 3: Deploy to an Individual SharePoint Site ==== | ||
+ | |||
+ | When a new SharePoint site is created, run this script to enable the Restore button for that site. | ||
+ | |||
+ | | 🛠️ 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. | {{: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== 🧹 Step 4: Delete the Restore Column from All Sites ==== | ||
+ | |||
+ | Use this when you need to **fully remove** the Squirrel Restore Column from all document libraries. | ||
+ | |||
+ | | 🗑️ Open `Delete and Unassociate Restore Buttons.ps1` in Visual Studio Code. | {{: | ||
+ | | ✏️ Update the tenant name on **line 2** with your tenant’s actual name. | {{: | ||
+ | | ▶️ Press **F5** to run the script. | {{: | ||
+ | | ✅ Confirmation: | ||
+ | | 🔍 Visit a few SharePoint document libraries to confirm the column is no longer visible. Refresh the page if needed. | {{: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Need assistance with deployment or scripts? Contact [support@smikar.com](mailto: | ||
software/squirrel/restore_buttons.1738455981.txt.gz · Last modified: 2025/02/02 11:26 by support@smikar.com