Question

We are upgrading some publishing sites from Moss to SP2010. We have created new master pages, page layouts and updated code to work in SP2010.We just want to migrate data now(pages and items in document library)

I have copied items from document library in Moss to SP2010 and that was easy. Now I want to copy pages.The site have a lot of publishing pages attached to different layouts.I just want to move these pages to SP2010 site such that :

  • I can move the page from Moss to SP2010 with different or same layout.

  • I can map the fields. For e.g. the data in 'Title' column in MOSS should be move to 'Heading' column in SP2010 pages library.

Is there some easy way to do that? Or should I write a migration tool to meet my requirements?

Was it helpful?

Solution

You have two options, and your choice will ultimately be determined by how many pages you have and how many of those need to be "modified" before / during the migration.

  1. Use a 3rd party migration tool

    There are now a number of great proprietary tools on the market (some free) which allow you to migrate publishing page content into SharePoint 2010. Here is a great list of the most comprehensive apps: http://www.sharepointjoel.com/Lists/Posts/Post.aspx?ID=337

    The pro's of using a third party tool are obvious... It's not exactly an overnight task to write one yourself! However you will be limited to the "modification features" that the tool provides. If you have a large number of publishing pages, most of which don't require heavy customisation during migration, you may not need to look any further. Changing page layouts etc during the migration is certainly something these apps can handle.

  2. Write your own migration tool

    If the list of apps above doesn't meet your requirements, then you're going to need to write your own migration tool. This will usually be in the form of a simple console app that utilises the Microsoft.SharePoint.Publishing.dll object model to create new publishing sites, pages and content.

    I built a bespoke migration tool recently because my company's intranet migration involved a huge change to the underlying information architecture (site structure). In additon, I needed to edit a lot of the HTML DOM within our migrated content.

    Here is a reference to creating publishing pages programmatically (and changing its layout):

    http://blogs.msdn.com/b/sridhara/archive/2008/06/21/create-and-publish-web-pages-in-publishing-sharepoint-sites-programmatically.aspx

    Tip #1: when manually creating your publishing sites and pages, ensure you check in and publish pages as you go otherwise SharePoint 2010 will throw exceptions when it encounters cross page links.

    Tip #2: create all your sites and pages BEFORE creating your navigation menus. Again, SharePoint 2010 will throw an exception if you attempt to create links to pages that have not yet been created.

Good luck!

OTHER TIPS

There is no straight easy way to do this.

I would suggest to first complete the migration from MOSS to SP2010 and then do the modifications that you need to do. These would be the steps:

  1. Copy all the page layouts from MOSS and paste into the SharePoint 2010 site, publish and approve the same if required.

  2. Once porting of all the page layouts are completed, pages should be moved to respective pages library in the new site.

  3. The page properties need to be changed one by one. The respective page layouts and values for Heading column needs to be added.

  4. Once all the pages are done, they can be published and approved if necessary.

However, if there are more than 100 pages to be modified, this would be a tough ask.

In that case, where there are numerous pages, you will have to change the step 3 mentioned above. Create an event handler to be triggered when new pages are created in the pages library. Once a new page is created, the code should do the necessary property changes to be done based on your conditions.

There are lot of good tools available.The one that is specific to your requirement is Metalogix migration manager. It supports what you need exactly:

  • can move the page from Moss to SP2010 with different or same layout.

  • can map the fields. For e.g. the data in 'Title' column in MOSS should be move to 'Heading' column in SP2010 pages library.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top