Search This Blog

Wednesday, February 22, 2012

Importing SharePoint 2007 list templates (STP) into SharePoint 2010

if you need to migrate list templates STP's from SharePoint 2007 to 2010, you could try the following:

  1. Rename the original .STP to .CAB

  2. Extract its manifest.xml to a local folder (lets call it {workingfolder})

  3. Search for the ProductVersion element. This should have a value of 3

  4. Change its value to 4

  5. Repackage the manifest.xml into a .CAB. I've done this by using makecab.exe in the C:\Windows\System32 folder
    : makecab.exe {workingfolder}\manifest.xml {workingfolder}\{template-name}.cab

  6. Change the generated cabinet's extension from .CAB back to .STP and upload it into the _catalogs/lt


c:\Windows\System32>makecab.exe C:\Users\Administrator\Desktop\QueriesList\manif
est.xml C:\Users\Administrator\Desktop\QueriesList.stp

1 comment: