Original Question or Issue: |
I have some older retention polices I can't delete even though they're disabled and not in use. I get a message about "Once applied it cannot be deleted". |
Environment: |
|
Steps to Reproduce: |
|
Error or Log Message: | |
Defect or Enhancement Number: |
|
Cause: | The retention policy once set cannot be deleted and the files receiving the policy rule cannot be unassigned from web even after disabling the policy. |
Resolution or Workaround: |
There is an existing command line tool that can be used carefully by the admin to first unassign files and folders and then delete the retention policy. You can use this command to enter the retention manager shell: C:\xampp\php\php.exe C:\xampp\htdocs\resources\tools\retention\retentionmanager.php To unassign policy from files/folders: unassign -p {policy_name} -f {path} [-r] Removes policy from the given file/folder. -r - remove for all subfolders/files To delete the policy: delete -p {policy_name} Delete retention policy |
Notes: |