-
Notifications
You must be signed in to change notification settings - Fork 8
Solution Automation RestorePHLItemAuto
Barbarur edited this page Mar 27, 2024
·
1 revision
Solution Code: RestorePHLItemAuto
Copy files from the Preservation Hold Library across the selected sites, to their original location. This solution only supports files and no items. Metadata from columns won't be copied a at this time. Only the file.
Run the solution with and account with at least SharePoint Admin role.
| Parameter | Type | Description |
|---|---|---|
| Original location | Required Choice |
Files will be restored on their original location. Folders will be created if needed. |
| Target location | Required Choice |
If needed the restoration to take place on a specific folder instead of the original location. |
| Number of versions to keep | Optional* | Server relative path of the target location where files should be restored.. |
- Collects the required Sites.
- Add account as Site Collection Admin.
- Collects the Preservation Hold Library.
- Collects the required Items in the PHL.
- Make a copy of the file from the PHL in the selected location.
- Records the information for each action in a CSV file.
If choosing to copy the files to a specific location, the solution should target a single site only.
Sites Collections and Subsites
Document Libraries and Item Lists
Files and Items
Recycle bin
Users
Sites Collections and Subsites
Document Libraries and Item Lists
Files and Items
- Copy or Duplicate files across sites
- Check In files
- Remove file versions
- Restore files from Preservation Hold Library
- Delete files from Preservation Hold Library
Recycle bin
Users
Users