在两个服务器场之间导出/导入Wiki页面库(包含托管元数据列)时出现问题.托管元数据列在哪里失去了与术语集的关联. [英] Problem when Export/Import a wiki pages library (which contain managed metadata columns) between 2 farms. Where the managed metadata columns lost their association with the term sets.

查看:70
本文介绍了在两个服务器场之间导出/导入Wiki页面库(包含托管元数据列)时出现问题.托管元数据列在哪里失去了与术语集的关联.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有2个sharepoint Enterprise 2013场,分别供2个不同的客户使用,而在一个客户场中,我拥有 企业Wiki网站集.该企业Wiki网站集具有一个Pages库,其中包含5个托管元数据网站列 链接到5个术语集.

I have 2 sharepoint enterprise 2013 farms for 2 different customers, and inside one customer farm i have  an enterprise wiki site collection. and this enterprise wiki site collection have a Pages library which contain 5 Managed Metadata site columns that are linked to 5 term sets.

现在我想将企业Wiki Pages库从一个服务器场复制到另一个服务器场,因此在源服务器场中,我使用以下Powershell脚本导出了Pages库:-

now i want to copy the enterprise wiki Pages library from one farm to another, so inside the source farm i exported the Pages library using this powershell script:-

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

然后我将Wiki页面库导入了目标服务器场内.现在已正确复制了Wiki页面,包括以下信息:-Wiki页面内容,版本历史记录,页面布局等.

但是我注意到5个托管元数据列未链接到目标服务器场内的正确术语集.虽然在目标服务器场中,我具有相同的术语集和相同的术语..但是似乎在导出/导入库时,导入的 列表将使用原始GUID而不是名称来引用术语集及其术语.在我的情况下,两个服务器场中术语集及其术语具有相同的名称,但不共享相同的GUID.

then i imported the wiki page library inside the destination farm. now the wiki pages were copied correctly including these info:- wiki page content, versions history, page layout, etc..

but i have noted that the 5 managed metadata columns were not linked to the correct term sets inside the destination farm. although inside the destination farm i have the same term sets and the same terms.. but seems when Export/Import libraries, the imported list will reference the term sets and their terms using the original GUID and not the name.. and in my case the term sets and their terms have the same names on both farms but do not share the same GUID.

所以我的问题是我该如何解决这个问题?

so my questions is how i can solve this issue?

第一个问题.有没有一种方法可以将术语集及其基础术语从源服务器场导出/导入或备份/还原到目标服务器场,并保留这些组件的GUID?所以当我导入列表,Wiki页面将被链接 会自动适应正确的条款?

First Question. is there a way to Export/Import or backup/restore the term sets and their underlying terms from source farm to the destination farm, and preserve the GUID of these components? so when i  import the list the wiki pages will get linked to the correct terms automatically?

第二个问题.如果以上建议的方法不起作用,我如何解决此问题?

Second question. if the above proposed appraoch will not work, how i can fix this problem ?

推荐答案

是的,您可以使用PowerShell分别备份/还原网站集术语集.之后,请检查是否在新服务器场中对术语GUID进行了修改.

Yes, you can Backup/Restore site collection term sets individually using PowerShell. After that,please check if the term GUID is modified in the new farm.

以下是分步演示,供您参考:

Here is a step-by-step demo for your reference:

https://blogs.msdn.microsoft.com/bettertogether/2014/10/04/site-collection-backuprestore-when-using-local-term-groups/

最好的问候,

周卡尔


这篇关于在两个服务器场之间导出/导入Wiki页面库(包含托管元数据列)时出现问题.托管元数据列在哪里失去了与术语集的关联.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆