When copying a site or list/library from a SharePoint Online (SPO) site to a SharePoint On-Premises environment (e.g. SharePoint 2013), all items and/or documents receive the following error messages:
Exception: AddDocument - No ObjectXml [One or more field types are not installed properly. Go to the list settings page to delete these fields.]
Exception: AddListItem - No ObjectXml [Failed to increment item IDs: One or more field types are not installed properly. Go to the list settings page to delete these fields.]
Also, items and/or documents are visible on the target site, but in a checked out state after migration.
All of the lists/libraries in SPO contain a field, which does not exist in earlier SharePoint versions.
Note: Make sure to enable the Advanced Mode on the Settings tab of the Content Matrix Console to see all the job configuration options.
Perform the following workaround:
$val = '_IsRecord'
[xml]$xml = $dataObject.XML
$node = $xml.SelectSingleNode("//Field[@Name ='$val']")
[Void]$node.ParentNode.RemoveChild($node)
$dataObject.UpdateList($xml.OuterXml, $true, $true)
DISCLAIMER
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center