Article ID: 2622517 - View products that this article applies to.
Consider the following scenario:
You have a site that contains lists with columns that are connected to a Managed Metadata term store.
You export that site and import it as a new site. When you add a new document to the list in the new site and specify a value for the Managed Metadata column, that value is not retained. Instead the column remains blank.
This issue happens when any of the below is true:
Ensure to include user security information in export and import operation AND do not specify a template when creating the import site.
In other words, use code like:
Export-SPWeb -Identity <Existing WebUrl> -Path <Backup FilePath> -IncludeUserSecurity
$MySite = New-SPSite -Url <New SiteUrl> -owneralias <alias>
$MyWeb = $MySite.RootWeb
Import-SPWeb $MyWeb -Path <Backup FilePath> -IncludeUserSecurity
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.
Article ID: 2622517 - Last Review: October 7, 2011 - Revision: 4.0