RSS

How to convert a SharePoint 2007 list template STP to SharePoint 2010

Last day, when I was trying to use a MOSS 2007 list template STP in SharePoint 2010, I was met with an error.

image

Microsoft SharePoint Foundation version 3 templates are not supported in this version of the product.

Correlation ID: {9809bf7a-457b-4c67-bca4-489b5957b8ea}

I tried opening an STP of SharePoint 2007 and SharePoint 2010 list template, and compared. The only major difference I found was the version number inside the file’s XML data. Updating the version number in the XML to one that corresponds to SharePoint 2010, made the 2007 list template work in 2010.

So if you need to migrate a list template STP from SharePoint 2007 to SharePoint 2010, you could try the following steps:

Step 1 : Rename the original STP to CAB

Step 2 : Extract the CAB File (I used WinRar) contents to a folder (let’s call it SourceFolder)

Step 3 : Edit the manifest.xml file, search for the ProductVersion element. This should have a value 3 if it is a SharePoint 2007 list template.

Step 4 : Change the ProductVersion value to 4

Step 5 : Repackage the manifest.xml into a .CAB. I have used the MakeCab.exe which is available in Windows.

Syntax to package is

Makecab <SourceFolder\manifest.xml> <SourceFolder\templateName.cab>

Step 6: Change the extension from .CAB to .STP and upload it

 
Leave a comment

Posted by on August 25, 2011 in SharePoint 2010

 

Tags: ,

Walkthrough: Create an InfoPath form template to submit data to a SharePoint list.(Part 4 of 4)

Please find my previous blog to know more about submitting the InfoPath details to SharePoint

Walkthrough: Create an InfoPath form template to submit data to a SharePoint list.(Part 3 of 4)

Step 7 – Publishing InfoPath form template into SharePoint

To publish this InfoPath form, click on the File Tab in the InfoPath and click Publish Button and click SharePoint Server.

On the Publishing Wizard, Enter the SharePoint site

Step7Image1

Click Next and select Administrator –approved form template (advanced).

Step7Image2

Read the rest of this entry »

 
 

Tags: , ,

Walkthrough: Create an InfoPath form template to submit data to a SharePoint list.(Part 3 of 4)

The steps on creating the data connections and wiring up of these data connections with the field can be found on my previous blog :

Walkthrough: Create an InfoPath form template to submit data to a SharePoint list.(Part 2 of 4)

Step 6 – The Coding / Submitting the Form

First step is to choose the language you want to write the code. I prefer C#.

Click on the Language button on the Developer Tab in the InfoPath ribbon, and select the code language and the project location.

Step6Image1

Click on the Submit Options in the Data Tab.

Step6Image2

Read the rest of this entry »

 
 

Tags: , ,

Walkthrough: Create an InfoPath form template to submit data to a SharePoint list.(Part 2 of 4)

The steps on designing the InfoPath form, the specification of the lists and the XML files are in the part 1 of the walkthrough which can be accessed from here :

Walkthrough: Create an InfoPath form template to submit data to a SharePoint list.(Part 1 of 4)

Step 4 – Data Connections

Now let us start creating the data connections for the choice boxes and the form.

Click on the Data Connections button on the Data Tab in the InfoPath ribbon

Step4Image1

Click on Add Button on the Data Connections dialog box, and click on Create a new connection to and Receive Data.

Step4Image2

Click Next and as source select XML document.

Read the rest of this entry »

 
 

Tags: , ,

Walkthrough: Create an InfoPath form template to submit data to a SharePoint list.(Part 1 of 4)

The goal of this walkthrough is to create an InfoPath form template to submit data to a SharePoint list. Let us see how to make this in 8 Steps…

Assumptions made for this walkthrough are:

  1. SharePoint 2010 environment is available.
  2. Office 2010 x64 bit version is installed.

Step 1 – Creating the list

Create a new SharePoint list based on Tasks list and name the list Business Requests.

Add the following fields to the task list.

  1. Business Need – Multiple lines of text / RichTextBox
  2. Business Unit – Choice
  3. Project Type – Choice
  4. Requested By – Person or Group

Read the rest of this entry »

 
 

Tags: , ,

Waka Waka (This time for Africa)

The ‘Hips don’t lie’ singer, Shakira along with South African bandshakira1 Freshlyground had made world go gaga over the official FIFA world cup song – Waka Waka (This time for Africa). It is a perfect mixture of the right ingredients toppled with African music in chorus that make one groove instantly. This song has struck the chord with both music and football lovers instantly.

But if you hear the song carefully, we will realize that beyond this trendy, spicy and dynamic Waka Waka song, there is much more that is beneath the surface.

Read the rest of this entry »

 
 

Tags: , , ,

Minimize a WPF application to System Tray in C#

There is no direct way to minimize a WPF application  to system tray. This does not means that we cannot do that at all.

To minimize WPF app to System Tray/add the Tray notification, imagewe just need to add the “System.Windows.Forms” and “System.Drawing” assembly references to your WPF project. Once we add the references, we can create new instance of the “NotifyIcon” class and  use it in our WPF application.

 

Read the rest of this entry »

 
5 Comments

Posted by on June 28, 2010 in C#, Computers, Languages, WPF

 

Tags: , , , ,

 
Follow

Get every new post delivered to your Inbox.