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 [2025/03/26 13:24] (current) โ support@smikar.com | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | **Overview: [[https:// | + | ===== ๐งฉ Squirrel |
- | ** | + | |
- | The [[https:// | + | ==== ๐ Overview ==== |
- | Key Features: | + | The [[https:// |
- | | + | This feature is powered by a lightweight |
- | | + | |
- | * Secure Operations: Restores are managed through secure a custom SPFX extension, and uses the logged in users Entra ID for authentication. | + | |
- | 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)** | ||
+ | - ๐ Easy deployment via SPFx package and PowerShell automation | ||
+ | - โ๏ธ Works across all sites or can be targeted to individual SharePoint sites | ||
- | **Setting Up Restore Buttons in SharePoint** | + | ---- |
- | Step 1: Upload the SPFx Package | + | ==== ๐งฑ Step 1: Upload the SPFx Package |
- | | Obtain the SPFx package | + | | ๐ฆ Obtain the SPFx package |
- | | Go to your SharePoint Admin Center. (https:// | + | | ๐ง Go to your SharePoint Admin Center (`https:// |
- | | Navigate to **More Features > Apps > Open**. | {{: | + | | ๐งญ Navigate to **More Features > Apps > Open**. | {{: |
- | | Click **Upload** and select the SPFx package. |{{: | + | | โฌ๏ธ |
- | | Optional. | + | | ๐๏ธ |
- | | The app has now been enabled | {{: | + | | โ
The app will now be enabled. | {{: |
- | | Confirm the App shows that the status is enabled | + | | ๐ Confirm the app shows as " |
- | **Add the Restore Column to your SharePoint Sites.** | + | ---- |
- | SmiKar will provide you with three powershell scripts. These are;ย | + | ==== ๐ Step 2: Deploy |
- | * Delete and Unassociate Restore Buttons.ps1. This script will remove | + | |
- | * Create and associate restore button.ps1. This script will add the Squirrel Restore column | + | |
- | * 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 | + | |
+ | SmiKar provides three PowerShell scripts: | ||
- | **Step 2: Create and Deploy | + | - `Create and associate restore button.ps1` โ Adds the Restore |
- | We will run the " | + | - `Add Button to Individual Site.ps1` โ Adds the Restore column to a **single site**ย |
+ | - `Delete | ||
+ | > ๐ก๏ธ **Note:** You must be a **Global Administrator** to run these scripts successfully. | ||
- | | Obtain the powershell script provided by SmiKar Software. | + | **Deploying |
- | | 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 | + | |
- | | 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 to an individual SharePoint Site.**ย | + | | ๐ ๏ธ Open `Create and associate restore button.ps1` in Visual Studio Code. | {{: |
- | We will run the "__Add Button to Individual Site.ps1__" to add the Squirrel | + | | โ๏ธ 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 | ||
+ | | โ
Once completed, you will see: "๐ โ
SPFx Field Customizer installed | ||
+ | | ๐ Confirm | ||
+ | ---- | ||
- | | Open the Powershell script in Visual Studio Code. "" | + | ==== ๐ Step 3: Deploy |
- | | You will need to update the powershell script, with the Tenant Name of your SharePoint | + | |
- | | 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. |{{: | + | |
+ | When a new SharePoint site is created, run this script to enable the Restore button for that site. | ||
- | **Step 4: Deleting | + | | ๐ ๏ธ Open `Add Button to Individual Site.ps1` in Visual Studio Code. | {{: |
+ | | โ๏ธ On **line 2**, update `" | ||
+ | | โถ๏ธ Press **F5** to run the script. | {{: | ||
+ | | โ
Success message: "๐ โ
Restore | ||
+ | | ๐ Verify the column is present in the document library | ||
- | We will run the " | + | ---- |
+ | ==== ๐งน 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: | ||
- | | 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.1738461098.txt.gz ยท Last modified: 2025/02/02 12:51 by support@smikar.com