2

I want to associate Term Store with the sitecollection that is migrated to new environment after migration. I have replicated the Term Store at destination, what now left is the association of the columns to the term store. If you have previously done the same or can give me an idea about doing it let me know.

2

If you go to Central Admin > Application management you will find a link called Service Application Association.

Make sure your web application is associated with the correct term store and associate it if not.

Once that is done, you can go to your web application > Site Settings > Term store management and check the term store association.

Once your terms are resolving correctly, you can check couple of metadata columns to see if its working or not.

By default if you are using the same term store as the source it should work without touching any of the columns. If term store is totally different you have to do lots of manual work.

0

You can use a Feature or manually connect the fields to the Term Stores in Managed Metadata Service Application. In feature-based approach, it can done in an Event Receiver for the feature. See this example 1 and example 2

How have you been doing it in old Farm?

0

I successfully did it by following this blog post:

Source SP Farm - Windows Azure SharePoint Server 2013 VM.

Destination SP Farm - SharePoint Server 2013 VM.

http://blog.kuppens-switsers.net/sharepoint/migrate-managed-metadata-between-farms/?subscribe=success#blog_subscription-3

Note: First migrate term store and then Backup/Restore site collection.

Finally Change site collection administrators of restored site collection from Central Administration (CA).

Here are detailed steps:

http://blog.kuppens-switsers.net/sharepoint/migrate-managed-metadata-between-farms/

Step 1 - Export Term Store script

$mmsApplication = Get-SPServiceApplication | ? {$.TypeName -eq "Managed Metadata Service"} $mmsProxy = Get-SPServiceApplicationProxy | ? {$.TypeName -eq "Managed Metadata Service Connection"} Export-SPMetadataWebServicePartitionData $mmsApplication.Id -ServiceProxy $mmsProxy -Path "C:\MMS\mmsdata.cab"

Step 2 - Import script

$mmsApplication = Get-SPServiceApplication | ? {$.TypeName -eq "Managed Metadata Service"} $mmsProxy = Get-SPServiceApplicationProxy | ? {$.TypeName -eq "Managed Metadata Service Connection"} Import-SPMetadataWebServicePartitionData $mmsApplication.Id -ServiceProxy $mmsProxy -Path "C:\MMS\mmsdata.cab" -OverwriteExisting

Step 3 - Backup site

Backup-SPSite -Identity "http://sp2103dev/sites/abc/" -Path "C:\MMS\sitetoarchive.bak"

Step 4 - Restore site

Restore-SPSite -Identity "http://sp2013/sites/xyz" -Path "C:\MMS\sitetoarchive.bak" -force

Step 5 - Note:- after site restore we need to change site collection administrator(s) for CA so that these users can access the site.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.