-
Notifications
You must be signed in to change notification settings - Fork 7
Solution Automation SetVersioningLimitAuto
Barbarur edited this page Dec 29, 2024
·
6 revisions
Solution Code: SetVersioningLimitAuto
Run the solution with and account with at least SharePoint Admin role.
Parameter | Type | Description |
---|---|---|
Set versioning settings | Optional | Define if the solution should apply to Modern lists or not. |
New Libraries | Required choice | Solution will apply as default setting for every future libraries of the target sites. |
Existing Libraries | Required choice | Solution will apply to existing libraries of the target sites. |
All Existing List | Required choice | Solution will apply to all Modern list of the target sites. |
Single Library | Required choice | Solution apply to a single list with matching title for target sites. |
Library title | Required* | Title of the single list to apply the changes. |
Inherit from tenant | Required choice | Limits to target libraries will be set same as per tenant limits. |
Customize limit | Required choice | Set custom limit for target libraries different from tenant. |
Automatic | Choice* | SharePoint deletes (thins out) intermittent older versions that are least likely to be used, while preserving sufficient high-value versions. Learn more. Applicable for custom limits. |
Manual | Choice* | Set count limits on the number of major versions and optionally set expiration time. Applicable for custom limits. |
Disable Versions | Choice* | Target libraries won't keep any number of versions. Applicable for custom limits. |
Major version limit | Required* | Number of major versioning to keep. Required if choosing Manual Limit. |
Expiration time | Optional | Number of days to keep each version. |
Minor version limit | Optional | Number of minor versioning to keep. |
Parameter | Type | Description |
---|---|---|
Set versioning settings | Optional | Define if the solution should apply to Modern lists or not. |
All Existing List | Required choice | Solution will apply to all Modern list of the target sites. |
Single List | Required choice | Solution apply to a single list with matching title for target sites. |
List title | Required* | Title of the single list to apply the changes. |
Manual | Required choice | Set count limits on the number of major versions. |
Disable Versions | Required choice | List won't keep any number of versions. |
Major version limit | Required* | Number of major versioning to keep. Required if choosing Manual Limit. |
- Collects the required Sites.
- Add account as Site Collection Admin.
- Collects the required Lists/Libraries.
- Set the versioning limits for each library and list.
- Records the information for each action in a CSV file.
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