User Tools

Site Tools


software:squirrel:restore_buttons

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:squirrel:restore_buttons [2025/02/02 12:10] support@smikar.comsoftware:squirrel:restore_buttons [2025/03/26 13:24] (current) support@smikar.com
Line 1: Line 1:
-**Overview: Squirrel Restore Buttons for SharePoint +===== 🧩 Squirrel Archive and Restore Buttons for SharePoint =====
-** +
-The [[Squirrel Restore Buttons]https://www.smikar.com/squirrel-data-rehydration/] 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 and PowerShell scriptsensuring seamless integration with your SharePoint environment.+The [[https://www.smikar.com/squirrel/|Squirrel]] Archive and Restore buttons integrate seamlessly with SharePointgiving users a simple and secure way to **archive or restore files** with a single click — directly within the SharePoint interface.
  
 +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. | {{:software:squirrel:squirrel_restore_package.png?400 }}| +- ✅ One-Click Archive & Restore directly from SharePoint 
-| Go to your SharePoint Admin Center. (https://TENANTNAME-admin.sharepoint.com/)| {{:software:squirrel:sharepoint_admin.png?400}} +🔐 Secure authentication using the logged-in user’s **Entra ID (formerly Azure AD)** 
-| Navigate to **More Features > Apps > Open**. | {{:software:squirrel:sharepoint_apps.png?400}} | +- 🔁 Easy deployment via SPFx package and PowerShell automation 
-| Click **Upload** and select the SPFx package. |{{:software:squirrel:sharepoint_app_upload.png?400}}  | +- ⚙️ Works across all sites or can be targeted to individual SharePoint sites
-| Optional. Choose All sites to deploy the package to all of your sharepoint sites or select |{{:software:squirrel:enable_app.png?400}} | +
-| The app has now been enabled | {{:software:squirrel:app_enabled.png?400}} | +
-| Confirm the App shows that the status is enabled and available to all sites. |{{:software:squirrel:app_available.png?400}}|+
  
-**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 2Create and Deploy the Restore Column to all your SharePoint Sites.** +| 📦 Obtain the SPFx package from SmiKar Software. | {{:software:squirrel:squirrel_restore_package.png?400}} | 
-We will run the "__create and associate restore button.ps1__to add the Squirrel Restore Column to all of your current SharePoint Sites.+| 🔧 Go to your SharePoint Admin Center (`https://TENANTNAME-admin.sharepoint.com`). | {{:software:squirrel:sharepoint_admin.png?400}} | 
 +| 🧭 Navigate to **More Features > Apps > Open**. | {{:software:squirrel:sharepoint_apps.png?400}} | 
 +| ⬆️ Click **Upload** and select the SPFx package. | {{:software:squirrel:sharepoint_app_upload.png?400}} | 
 +| 🗂️ Choose to deploy to **all sites** or a specific collection. | {{:software:squirrel:enable_app.png?400}} | 
 +| ✅ The app will now be enabled. | {{:software:squirrel:app_enabled.png?400}} | 
 +| 🔍 Confirm the app shows as "Enabled" and "Available to all sites". | {{:software:squirrel:app_available.png?400}} |
  
 +----
  
-| Obtain the powershell script provided by SmiKar Software.   "Create and associate restore button.ps1| {{:software:squirrel:restore_buttons_powershell_scripts.png?200 }}| +==== 📌 Step 2: Deploy the Restore Column to All SharePoint Sites ====
-| Open the Powershell script in Visual Studio Code |   {{:software:squirrel:create_columns.png?200 }} | +
-| You will need to update the powershell script, with the Tenant Name of your SharePoint environment. On line 2, within the brackets replace "TENANTNAME" with your details. Make sure to save the file before continuing. |{{:software:squirrel:tenant_name_update.png?200 |}}  | +
-| 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.  |{{:software:squirrel:restore_column_running.png?200 |}} | +
-| Once completed, you should see the script say "🎉 ✅ SPFx Field Customizer installed and associated on all sites!"  |{{:software:squirrel:restore_column_added_successfully.png?200 |}} | +
-| 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. | {{:software:squirrel:restore_column_added.png?200 |}} |+
  
- **Step 3Adding the Restore Column to an individual SharePoint Site.** +SmiKar provides three PowerShell scripts:
-We will run the "__Add Button to Individual Site.ps1__" to add the Squirrel Restore Column a specific SharePoint Site. This should be done anytime you create a new SharePoint site, and want the Squirrel Restore button to be available for your end users.+
  
 +- `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
  
-| Open the Powershell script in Visual Studio Code. ""Add Button to Individual Site.ps1" |   {{:software:squirrel:create_columns.png?200 }} | +> 🛡️ **Note:** You must be a **Global Administrator** to run these scripts successfully.
-You will need to update the powershell script, with the Tenant Name of your SharePoint environment. On line 2, within the brackets replace "TENANTNAME" and "SITENAME" with your details. (or replace the whoe URL with the URL of your new site.. Make sure to save the file before continuing. |{{:software:squirrel:indiviudal_site_powershell_site_update.png?200 |}}  | +
-| 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.  | {{:software:squirrel:individual_site_running.png?200 |}}| +
-| Once it has completed, the script will respond with "🎉 ✅ Restore button added successfully to Your New Site URL"  | {{:software:squirrel:individual_site_powershell_successful.png?200 |}}| +
-| 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. |{{:software:squirrel:individual_site_restore_column_added.png?200 |}} |+
  
 +**Deploying to All Sites:**
  
-**Step 4Deleting the Restore Column from all of your SharePoint Sites.** +| 🛠️ Open `Create and associate restore button.ps1` in Visual Studio Code. | {{:software:squirrel:restore_buttons_powershell_scripts.png?200}} | 
-We will run the "__Delete and Unassociate Restore Buttons.ps1__to delete the Squirrel Restore Columns from all of your SharePoint Sites+| ✏️ Update the tenant name on **line 2**. Replace `"TENANTNAME"` with your actual tenant name| {{:software:squirrel:tenant_name_update.png?200}} | 
 +| ▶️ Press **F5** to run the script. It will loop through your SharePoint sites and add the Restore column| {{:software:squirrel:restore_column_running.png?200}} | 
 +| ✅ Once completed, you will see: "🎉 ✅ SPFx Field Customizer installed and associated on all sites!" | {{:software:squirrel:restore_column_added_successfully.png?200}} | 
 +| 🔍 Confirm the Restore column appears in any document library where a file has been archived. | {{:software:squirrel:restore_column_added.png?200}} |
  
 +----
 +
 +==== 🔄 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. | {{:software:squirrel:create_columns.png?200}} |
 +| ✏️ On **line 2**, update `"TENANTNAME"` and `"SITENAME"` or directly replace with your site’s URL. | {{:software:squirrel:indiviudal_site_powershell_site_update.png?200}} |
 +| ▶️ Press **F5** to run the script. | {{:software:squirrel:individual_site_running.png?200}} |
 +| ✅ Success message: "🎉 ✅ Restore button added successfully to Your New Site URL" | {{:software:squirrel:individual_site_powershell_successful.png?200}} |
 +| 🔍 Verify the column is present in the document library of the new site. | {{:software:squirrel:individual_site_restore_column_added.png?200}} |
 +
 +----
 +
 +==== 🧹 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. | {{:software:squirrel:create_columns.png?200}} |
 +| ✏️ Update the tenant name on **line 2** with your tenant’s actual name. | {{:software:squirrel:tenant_name_update.png?200}} |
 +| ▶️ Press **F5** to run the script. | {{:software:squirrel:delete_column_running.png?200}} |
 +| ✅ Confirmation: "🎉 ✅ All Restore columns have been fully deleted from all sites!" | {{:software:squirrel:delete_all_sites_successful.png?200}} |
 +| 🔍 Visit a few SharePoint document libraries to confirm the column is no longer visible. Refresh the page if needed. | {{:software:squirrel:delete_column_site.png?200}} |
 +
 +----
 +
 +Need assistance with deployment or scripts? Contact [support@smikar.com](mailto:support@smikar.com) or your SmiKar representative for help.
  
-| Open the Powershell script in Visual Studio Code. "Delete and Unassociate Restore Buttons.ps1" |   {{:software:squirrel:create_columns.png?200 }} | 
-| You will need to update the powershell script, with the Tenant Name of your SharePoint environment. On line 2, within the brackets replace "TENANTNAME" with your details. Make sure to save the file before continuing. |{{:software:squirrel:tenant_name_update.png?200 |}}  | 
-| 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.  | {{:software:squirrel:delete_column_running.png?200 |}} | 
-| 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!" | {{:software:squirrel:delete_all_sites_successful.png?200 |}} | 
-| 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:delete_column_site.png?200 |}} | 
software/squirrel/restore_buttons.1738458634.txt.gz · Last modified: 2025/02/02 12:10 by support@smikar.com