Undeclare / Declare all / some records in a list

Requirement Undeclare all records in a SharePoint list. Declare all records in a SharePoint list. Declare only specific records in a SharePoint list. Solution Use the following PowerShell script. $SPAssignment = Start-SPAssignment $web = Get-SPWeb <a href="http://your-site">http://your-site</a> -AssignmentCollection $spAssignment $list = $web.lists["your-list"].items foreach ($item in $list) { $IsRecord = [Microsoft.Office.RecordsManagement.RecordsRepository.Records]::IsRecord($Item) if ($IsRecord -eq $true){ Write-Host […]

Continue Reading...

Migrated data contains old workflow columns/fields

Problem When migrating items from a list with associated workflows, the migrated items retain the metadata fields associated with the list. This includes all workflow columns which you most likely would not need. Solution Deassociate the workflows from the original list prior to moving the list items. Go to List Settings -> Workflow Settings -> […]

Continue Reading...