How to Export SharePoint Metadata from SharePoint 2010 to SharePoint 2013 (Different Farm)

Posted in: Blog, SharePoint 2010, SharePoint 2013 |

No comments

INTRODUCTION

I have just done a site migration from SharePoint 2010 to SharePoint 2013. One of the features the SP 2010 site was using was Managed Metadata field. Obviously, when you migrate a SharePoint site to a completely different farm (not to mention different SharePoint version), you have to also migrate the Managed Metadata database otherwise search or other custom functionalities that depend on the Managed Metadata will not work properly.

The main challenge is to ensure how existing content still points to the correct term store and term sets in the new farm especially when the site is referencing using the GUIDs instead of the individual “word/term”. Re-creating the term store and term set will not work either because the GUID will be different.

Therefore, I would like to share through this article the process and steps I took to complete the task. I hope that this helps those who want to do the same.

THE TOOLS YOU NEED

– SPMMDNavigator from CodePlex – http://spmmdnavigator.codeplex.com/releases/view/95827

THE STEPS

EXPORTING

First, on the SOURCE server, run the SPMMDNavigator tool. You will see the following screen:

1

What the tool allows you to do is to view the Managed Metadata Service of the current farm (which in this case is the SOURCE server). What you want to do next is to export the metadata. Click on the Term Group (which I covered with red mark above due to privacy) then click on EXPORT tab.

Then select “Use Custom Xml Format (includes Guids, Synonyms)” and click Export. Specify the filename (XML file) and you are done.

CLEANING UP

On the exported XML file you will notice that the tool also exports synonyms. The tool however doesn’t work properly upon importing synonyms. Therefore, these needs to be cleaned up first and you have to re-enter the synonyms manually.

I may be wrong, the tool may do it correctly but it never worked for me. So anyway, if it doesn’t work for you, open the XML file and do the following:

Fine the following line(s):

<term name=”Computers” id=”c4f1264a-f6c6-4abd-acb8-19e8d3808858″ description=”” isavailfortagging=”true” reuse=”false” reusebranch=”false”>
   <label name=”PC” />
</term>

Simply delete it so your XML should look like:

<term name=”Computers” id=”c4f1264a-f6c6-4abd-acb8-19e8d3808858″ description=”” isavailfortagging=”true” reuse=”false” reusebranch=”false”>
</term>

Do it for every synonym you can find in your file.

IMPORTING

Then, go to DESTINATION farm/server and in Managed Metadata Service create a new term group with exactly the same name as the source server. For example, if the term group you are exporting is called “My Company” then on the destination server you have to use the exactly the same name.

After that, run SPMMDNavigator on DESTINATION server. You will see exactly the same interface except this time you want to import instead.

So, as above, click on the term group that you have created (eg. “My Company”) then click on IMPORT. Select the XML file you’ve cleaned up and you’re done!

The tool will import all the terms and assign the exactly the same GUID as your SOURCE server which is AWESOME! 🙂

Go to your DESTINATION Managed Metadata Service and you should be able to find all term sets imported successfully under “My Company” group.

RELINKING

The very final step is to re-link your SharePoint site with the new term set you’ve imported. To do this, go to your restored SharePoint site on DESTINATION and go to Site Columns and find your Managed Metadata field.

You will notice that the link is missing. Simply select the imported term set and click OK. You’re done!

2

 

Hope this helps,

Tommy

Written by

A web solution expert who has passion in website technologies. Tommy has been in the web industry for more than 10 years. He started his career as a PHP developer and has now specialized in ASP.NET, SharePoint and MS CRM. During his career he has also been in many roles: system tester, business analyst, deployment and QA manager, team and practice leader and IT manager.

No Comments Yet.

Leave a Reply

You must be logged in to post a comment.

Our Services

We provides you the best Services in our themes.

  • Click on the link below to see a full list of clients which we have developed solutions and provided consultancy for.

    READ MORE

  • We are solution-centered and not application-centered.

    READ MORE

  • Being creative and having fun and yet still delivering a fantastic service is the center of our values.

    READ MORE

  • TFS Consulting Services guarantees delivery that is within budget and deadline or you engage us for free.

    READ MORE

Implementing IT does not have to be difficult.

As long as you have the right methodologies

We have heard a lot of complaints from our clients that IT a lot of the times give them headache. The issues range from over-budget implementation, server is too hard to maintain, application is not user friendly, features not complete and many others. If you have ever experienced similar situations, don’t worry. This is why TFS Consulting Services is here. We exist to help clients implementing a successful IT solution. We have various methodologies which we have proven working in delivering a successful IT implementation. Below is the list of some of our key service offerings:
  • Planning and Methodologies

    Implementing IT solution does not have to be difficult. TFS Consulting Services has a lot of resources on planning and methodologies that will ensure successful delivery of your IT solution. TFS Consulting Services has been around in the web industry for more than 10 years and has experienced all the successes and failures of various type of IT deployment.

    read more

  • Technical Resource

    Do you need a technical resource? TFS Consulting Services can also provide you with technical resource for developing ASP.NET (C# and VB.NET), SharePoint (2003, 2007, 2010, 2013) and MS CRM applications. Our resource is an Microsoft Certified Personnel (MVP) and Microsoft Certified Technology Specialist (MCTS) in all ASP.NET, SharePoint and CRM.

    read more

  • IT Consulting & Advice

    Make sure your IT implementation is robust and scalable. TFS Consulting Services can provide consulting and advice on industry’s best practice on various web-related areas such as website security, design and usability, application-specific (such as SharePoint)’s best practice, Search Engine Optimisation (SEO), coding standards and many others.

    read more

  • Solution Development

    Finally TFS Consulting Services provides you with solution development service. We mainly work with Microsoft technologies (ie. .NET and SQL Server), however we are also capable of developing with PHP and MySQL. If you ever need any business process automation, integration and solution development work,  we are the trusted expert you should go to.

    read more

For more detailed service offerings please visit our Solutions page.

Testimonials

  • I’m happy to recommend Tommy as a knowledgeable and diligent developer.

    Mike Stringfellow, Vivid Group
  • Tommy has a lot of great ideas that can be delivered into great products. It’s a pleasure working with him because he has a broad knowledge about available technologies out there and he knows what’s best for the client’s needs. He just knows how to work effectively and efficiently.

    Teddy Segoro, Student Edge
  • I’ve worked with Tommy over the past 6 months and have found his approach to development (especially SharePoint) absolutely outstanding. Tommy goes beyond the boundries of typical software development with his ability understand what a client requires and then build it into fully fledged software solution. Coupled with his professional “Best Practice” approach, you get Continue Reading

    Michael Bonham, DSC-IT

Contact us

Tommy Segoro
tommy@tfsconsulting.com.au
+61 404 457 754

   

© TFS Consulting Services 2024. All rights reserved.

www.incorporator.com.au