Migrating Wiki Pages Remotely – Part 10

Note, this series starts at http://blogs.msdn.com/dwinter/archive/2008/06/28/migrating-wiki-pages-remotely-part-01.aspx Here is the full project from this effort:     http://www.codeplex.com/WikiMigrator

6

Migrating Wiki Pages Remotely – Part 09

Note, this series starts at http://blogs.msdn.com/dwinter/archive/2008/06/28/migrating-wiki-pages-remotely-part-01.aspx One of the final touches was to take care of the “but this data here is out of place”, or “this string still has the old server”, etc type complaints.  You may have noticed this, but I wanted to point it out separately (since this works out to be…

2

Migrating Wiki Pages Remotely – Part 08

Note, this series starts at http://blogs.msdn.com/dwinter/archive/2008/06/28/migrating-wiki-pages-remotely-part-01.aspx So there are a lot of little things to think about here.  Once you start playing with this—the next one that comes to mind is… what about the images?  It is a good question.  I found in practice that most images would end up in the same Document Library…

4

Migrating Wiki Pages Remotely – Part 07

Note, this series starts at http://blogs.msdn.com/dwinter/archive/2008/06/28/migrating-wiki-pages-remotely-part-01.aspx Now let us consider the next potential problem in using copy.asmx. There were some instances where I found that the copy.asmx would fail outright. One of these was when I would go between significant schema versions. In my case, I was going between a very early version of o14…

3

Migrating Wiki Pages Remotely – Part 06

Note, this series starts at http://blogs.msdn.com/dwinter/archive/2008/06/28/migrating-wiki-pages-remotely-part-01.aspx Now that that is done, it is time to consider some potential difficulties of this approach. First, when you use the copy.asmx, the destination file will automatically gain a property called _CopySource that points back to the source item—making a dependency. When you browse the new destination page, it…

2

Migrating Wiki Pages Remotely – Part 05

Note, this series starts at http://blogs.msdn.com/dwinter/archive/2008/06/28/migrating-wiki-pages-remotely-part-01.aspx Once you have gotten the source data in memory, the next step is to get it into the destination server. This is where most folks run into problems. In my exploration, I found a few different approaches—which can work better in different scenarios. If you try the obvious method of…

2

Migrating Wiki Pages Remotely – Part 04

Note, this series starts at http://blogs.msdn.com/dwinter/archive/2008/06/28/migrating-wiki-pages-remotely-part-01.aspx We just looked at using copy.asmx to get WikiField.  Now let’s look at getting the field by using just lists.asmx.   You may notice that the segment of code I took this from is using the destination web service instead of the source. This one is interesting because if WikiField…

1

Migrating Wiki Pages Remotely – Part 03

Note, this series starts at http://blogs.msdn.com/dwinter/archive/2008/06/28/migrating-wiki-pages-remotely-part-01.aspx I wrote before about how you could use lists.asmx to get the data out of a Wiki Library just like any other list type. There is one significant difference though that may not be immediately apparent. If you investigate the internal structure of a Wiki Page, you will find…

1

Migrating Wiki Pages Remotely – Part 02

Note, this series starts at http://blogs.msdn.com/dwinter/archive/2008/06/28/migrating-wiki-pages-remotely-part-01.aspx Before we can dig into the data itself, we need to know what is there.  I built some simple functionality to enumerate the available Wiki Libraries and allow for selection.  I write the name of the Library into a textbox after it is selected so that the user can…

1

Migrating Wiki Pages Remotely – Part 01

I was doing some work recently where I needed to move a large volume (thousands) of Wiki Pages from one server to another. The problem was that while if I begged and pleaded, I probably could have gotten local admin access to the farms, I didn’t really want to go through that if I didn’t…

19