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/11 09:46] โ€“ support@smikar.comsoftware:squirrel:restore_buttons [2025/03/26 13:24] (current) โ€“ support@smikar.com
Line 1: Line 1:
-**Overview: [[https://www.smikar.com/squirrel/|Squirrel]] Restore Buttons for SharePoint**+===== ๐Ÿงฉ Squirrel Archive and Restore Buttons for SharePoint =====
  
-The [[https://www.smikar.com/squirrel-data-rehydration/|Squirrel Restore]] and [[https://www.smikar.com/squirrel-self-service-archiving/|Archive Buttons]] integrate seamlessly with SharePoint, providing a user-friendly interface to restore archived files with a single click. This functionality is powered by an SPFx package and a custom Restore column in your SharePoint sites.+==== ๐Ÿ” Overview ====
  
-Key Features:+The [[https://www.smikar.com/squirrel/|Squirrel]] Archive and Restore buttons integrate seamlessly with SharePoint, giving users a simple and secure way to **archive or restore files** with a single click โ€” directly within the SharePoint interface.
  
-  One-Click Restore and Archive: Quickly restore or archive files directly from the SharePoint UI.ย +This feature is powered by a lightweight **SPFx package** and **custom Restore column**, which you can deploy to one or all SharePoint sites using provided PowerShell scripts.
-  Flexible Configuration: Apply to individual sites or across all SharePoint sites.ย +
-  * 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 provided by SmiKar Software. | {{:software:squirrel:squirrel_restore_package.png?400 }}|ย +๐Ÿ“ฆ Obtain the SPFx package from SmiKar Software. | {{:software:squirrel:squirrel_restore_package.png?400}} |ย 
-| Go to your SharePoint Admin Center(https://TENANTNAME-admin.sharepoint.com/)| {{:software:squirrel:sharepoint_admin.png?400}}  |ย +๐Ÿ”ง 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}} |ย +๐Ÿงญ 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}}  |ย +โฌ†๏ธ Click **Upload** and select the SPFx package. | {{:software:squirrel:sharepoint_app_upload.png?400}} |ย 
-Optional. Choose All sites to deploy the package to all of your sharepoint sites or select |{{:software:squirrel:enable_app.png?400}} |ย +๐Ÿ—‚๏ธ Choose to deploy to **all sites** or a specific collection. | {{:software:squirrel:enable_app.png?400}} |ย 
-| The app has now been enabled | {{:software:squirrel:app_enabled.png?400}} |ย +โœ… The app will now be 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}}|+๐Ÿ” Confirm the app shows as "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;ย +==== ๐Ÿ“Œ Step 2: Deploy the Restore Column to All SharePoint Sites ====
-  * 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+
  
 +SmiKar provides three PowerShell scripts:
  
-**Step 2: Create and Deploy the Restore Column to all your SharePoint Sites.**+- `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
  
-We will run the "__create and associate restore button.ps1__" to add the Squirrel Restore Column to all of your current SharePoint Sites.+> ๐Ÿ›ก๏ธ **Note:** You must be a **Global Administrator** to run these scripts successfully.
  
 +**Deploying to All Sites:**
  
-Obtain the powershell script provided by SmiKar Software.   "Create and associate restore button.ps1| {{:software:squirrel:restore_buttons_powershell_scripts.png?200 }}|ย +๐Ÿ› ๏ธ Open `Create and associate restore button.ps1in Visual Studio Code| {{:software:squirrel:restore_buttons_powershell_scripts.png?200}} |ย 
-| Open the Powershell script in Visual Studio Code |   {{:software:squirrel:create_columns.png?200 }} |ย +โœ๏ธ Update the tenant name on **line 2**. Replace `"TENANTNAME"with your actual tenant name. | {{:software:squirrel:tenant_name_update.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 |}}  |ย +โ–ถ๏ธ 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}} |ย 
-Now that you have saved the file, you are ready to run the script against your SharePoint EnvironmentWithin 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 will see"๐ŸŽ‰ โœ… SPFx Field Customizer installed and associated on all sites!" | {{:software:squirrel:restore_column_added_successfully.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 |}} |ย +๐Ÿ” Confirm the Restore column appears in any document library where a file has been archived. | {{:software:squirrel:restore_column_added.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 3: Adding the Restore Column to an individual SharePoint Site.**+----
  
-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.+==== ๐Ÿ”„ 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 the Powershell script in Visual Studio Code. ""Add Button to Individual Site.ps1  {{:software:squirrel:create_columns.png?200 }} |ย +๐Ÿ› ๏ธ Open `Add Button to Individual Site.ps1` 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" 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 |}}  |ย +โœ๏ธ On **line 2**update `"TENANTNAME"and `"SITENAME"or directly replace with your siteโ€™s URL. | {{: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 |}}|ย +โ–ถ๏ธ Press **F5** to run 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 |}}|ย +โœ… Success message: "๐ŸŽ‰ โœ… 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 |}} |+๐Ÿ” Verify the column is present in the document library of the new site. | {{:software:squirrel:individual_site_restore_column_added.png?200}} |
  
 +----
  
-**Step 4: Deleting the Restore Column from all of your SharePoint Sites.**+==== ๐Ÿงน Step 4: Delete the Restore Column from All Sites ====
  
-We will run the "__Delete and Unassociate Restore Buttons.ps1__" to delete the Squirrel Restore Columns from all of your SharePoint 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.1739227602.txt.gz ยท Last modified: 2025/02/11 09:46 by support@smikar.com