Pregunta

I have 2 sharepoint farm 2013 for 2 different customers. now i want to export a wiki page list from one farm and then import it to another farm. now the wiki page list is inside an enterprise wiki site collection, and have 5 custom site columns of type Managed Metadata which are linked to term sets. now i export the wiki page from source farm using this powershell:-

Export-SPWeb -Identity "http://servername/kb/*****/" -ItemUrl "Pages" -Path "c:\wikipage.cmp" -CompressionSize 1000 -IncludeVersions All  -Force –Verbose

then on the destination farm i imported the list. now the wiki pages were imported correctly (content, page layout, etc...), but i have noted that the wiki page list's managed metadata columns were not linked to the correct term sets on the destination farm. after some investigation, seems the managed metadata columns on the destination farm will try to find a term set inside the destination farm which have the same GUID as the source farm. so my question is how i can copy the related term sets from the source farm to the destination farm and preserve the term sets' GUIDs ..is this possible ?

¿Fue útil?

Solución

It's not possible to specify GUIDs for items. The only way to do what you want to do is to backup the MMS database and restore it to the target farm.

Licenciado bajo: CC-BY-SA con atribución
scroll top