Posts

Showing posts with the label Migration

Ways to redirect http requests in SharePoint

Image
The are multiple szenarios when you need a redirect in SharePoint: You've migrated SharePoint into a new URL (e.g http://sp2010 to http://sp2013) You moved a site collection You moved a sub site into a new site collection If you want to redirect in SharePoint without custom solutions you have the following options: Redirect with XML Viewer or Content Editor WebPart You can redirect with JavaScript by inserting a WebPart into the site and adding simple JavaScript. This is easy to configure but redirects only the site in which the WebPart sits (Probably the Mainsite). If users have saved links the their document libraries this method fails, unless you put the same WebPart into the document library. So go to the site you want to redirect and the XML Viewer WebPart. Open the WebPart settings and add the following line of code: <script type="text/javascript"> location.href = "<<the url you want to redirect>>"; </s...

Move a SharePoint Team Wiki Library between SharePoint Sites or Site Collections

Image
In this post I describe how you can move a team wiki from one site to another. The difficulties here are: The "Save as Template" option in the list settings does not exist. This is because this type of list is deprecated. In SharePoint 2010 you should use Enterprise Wikis. After copying the list, the links in the wikis site must be adapted to the new site. Ways to copy the Wiki Library The are three "easy" ways to copy the Wiki Library from one site to the other. The "Save As Template" Link does not exist in the Library Settings but the option still exists. SharePoint Designer Open the site with the SharePoint Designer. Click on your wiki and go the the library settings. You'll find a "Save as template" button there. "Save as Template" option in SharePoint Designer SharePoint UI You can use the standard "Save As Template" UI by modifying the URL Go to the Wiki Library. Normally you brows...

Visual upgrade error in SharePoint 2010

I got following error when I made a visual upgrade: "One or more field types are not installed properly." (in German: Mindestens ein Feld ist nicht richtig installiert. Wechseln Sie zur Listeneinstellungsseite, um diese Felder zu löschen.) The error occurs due to a problem in the hidden relationshiplist. The entries are not updated properly. See  Problems with visual upgrade . The solution for this problem is easy: Install the newest Cumulatives Updates.

SharePoint Migration of Publishing Content Types

When you migrate your Publishing Content Types from SharePoint 2007 to 2010 you have to do some changes to you xml definition. There are two new attributes to consider when creating or migrating Content Types: Inherits Overwrite The Inherits attribute When you p.e. migrate a custom "publishing content type" that derives from the default page content type you must use the inherits attribute to display your custom fields. Now take a look what msdn says: Inherits Optional Boolean. The value of this attribute determines whether the content type inherits fields from its parent content type when it is created. If Inherits is TRUE, the child content type inherits all fields that are in the parent, including fields that users have added. If Inherits is FALSE or absent and the parent content type is a built-in type, the child content type inherits only the fields that were in the parent content type when SharePoint Foundation was installed. The child content type d...