Migrate the Metadata from sharepoint 2010 to sharepoint 2013

Here is my steps, I will show all the content in detail as soon as possible.

1. Get the metadata value of the item in docuemnt list from the SP site 2010 and Save the metadata value that get form SP site 2010 into xml file

2. Update metadata value using server object model in sharepoint 2013  and Save the log.

3. The base operation about Metadata Service in sharepoint 2013

4. Base Operation About Xml file


I had a require about migrating the metadata from sharepoint 2010 to sharepoint 2013, but there were something wrong with the metadata, because the metadata value of the item  is relation with it ID of the Term in Metadata Service,  after migrating,  the item won't find the ID of the metadata in new Metadata Service of sharepoint 2013 site. then I had to retrive the metada value in new Metadata Service and re-assignment the metadata value of the item.

Here is my solution:

1. To to update the metadata of the item in all document list, I save the docuement list info that need to update into xml file.

2. Because of the large number of the items in docuement list(in my site, the number of the document is more than ten thousand), I had to save the document info into xml file. then the performance will be fast.

3. To improve the performance and update all the couments list synchronous, I import the multithreading, then the performance will more fast, that's good idea.

4. To to record the result of the updating and save the error log, I also create the error log, then we will know the result in detail.

5. And I create the winform project, then we can use the tool easy. beside, I had test the tool and the result was fine, the tool update a item in less 1 second. becase of using the xml to save the metadata get from site 2010, it didn't need to call the client api every time, just get the metadat in xml file, so the performance is very good


Above that, it is just the base steps and I will show you the code in detail, if you want to the solution project, please email me.



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值