SharePoint 2010 Migration Woes: Importing and exporting lists template between different SP2010 Servers

Migrations of SharePoint contents from one server to another can be a big PITA. Once I came across a scenario where I had to export a couple of lists from SharePoint online i.e. Office 365 to the SharePoint 2010 on my local server.  What I did is to copy the required lists along with content by creating a list template i.e. via .stp file. Then I upload it to my local SharePoint 2010 server's list template gallery. Later I successfully created a new list with the uploaded template.

For that I took the following steps:
  1. Open your SharePoint site in the SharePoint designer 2010.
  2. Select Lists and libraries.
  3. Select you desire list and the click on the "Save as Template" from the ribbon. You'll be redirected to the SharePoint site and there after filling in the required fields and pressing OK , .stp will be created. This template can be viewed in Site Action -> Site Setting -> Galleries ->List Template.
  4. Select the list template and then from the ribbon's document tab, press "Download a Copy" and this will give a temple in .stp format. 
  5. Now Log into your local SharePoint site as the site Administrator.
  6. From the Site Actions drop-down menu in the top right, select Site Settings.
  7. Under the Galleries section, select List templates.
  8. Select Upload to load an application template into this SharePoint site.
  9. Browse to the .stp file from the distribution and select Open. If you have several application templates to load into your site, you can use the Upload Multiple Files and option to load them all at once.
  10. Click "Ok" to complete the upload of the application template to your SharePoint site.
  11. This way this template will appear in the template gallery and thus can be used for creating list with this schema. Site Action -> More Option, select list and you would find your template there. 
Problem
But that is the normal case .The above mentioned seem quite straight forward but it can be complicated considering the configuration of the your "Parent SharePoint server". In my case the Parent SP was in german and the template that came out had a different configuration. So when I uploaded the template using above steps and checked template library it was visible there. Now to create a list using that template, I could not see my template in the gallery.

Solution:
 The work around for that was to modify the.stp file, which was created when we make the list template. So here are the steps :
  1. Create a list template. You can do this in the list settings. Just click "Save list as template" and give in the the file name and the template name.
  2. Download the created template to a local folder.
  3. Extract the template file
  4. Now we will modify the .stp file. An .stp file is just a cabinet file (as .wsp is a .zip file). Simply rename the file from "list.stp" to "list.cab". You can now open the file and see all the content inside.
  5. Now creat a local folder e.g "C:\temp\list" and copy all files within the cab file. 
  6. Amongst these content you will find manifest.xml in the lists folder and just change the language code within the xml to the destination language code. I changed from 1031 to 1033 converting German to English. For further details on that click here.
  7. Now we go to convert this .cab file to .stp again which is slightly complicated.
  8. For that we create a .ddf file by Creating a new file in the list folder and rename it to "definition.ddf".
  9. Open the .ddf file and paste the fallowing code inside:
; DIAMOND Directive File (.ddf)
.OPTION EXPLICIT
; Generate errors on variable typos
.Set CabinetNameTemplate=mylist.stp
.Set Cabinet=on
.Set Compress=on
;The files specified below are stored, compressed, in the cabinet file 30000000.000
manifest.xml


Under manifest.xml we can write down all the files which should be inclided in the new .stp file.
Now to create the .stp file, open the DOS command promp and move to list folder where .ddf file is placed. Type in this command: makecab /f definition.ddf



This did the magic for me and I hope that this helps you as well.

Cheers

References

Comments

  1. Hi ... william.. thanks for sharing information.This has to be one of my favorite posts! And on top of thats its also very helpful topic for newbies. Thanks a lot for informative information on sharepoint.

    ReplyDelete
  2. Thanks!!! works like a charm :)

    ReplyDelete
  3. Great Article… I love to read your articles because your writing style is too good......


    Oracle Weblogic Server Training

    ReplyDelete
  4. Really Great Informative Blog.Very Helpful Post And Explained Very Clearly About All the things.Very Helpful. Coming To Our Self We Provide Restaurant Equipment Parts Through Out US At Very Affordable Prices And Also We Offer Same Day Shipping In US.We Offer Only Genuine Products.Thanks for Posting.Have A Nice Day.

    ReplyDelete
  5. This Blog Provides Very Useful and Important Information. I just Want to share this blog with my friends and family members. Salesforce Certification Training

    ReplyDelete
  6. QuickBooks Payroll Support Phone Number
    below described information absolutely help customize desktop or online account for payment processing in quite a reliable manner. Within the next step, you will find information through the last service provider.

    ReplyDelete
  7. QuickBooks Enterprise has almost eliminated the typical accounting process. Along with a wide range of tools and automations, it provides a wide range of industry verticals with specialized reporting QuickBooks Enterprise Tech Support Number and tools.

    ReplyDelete
  8. Being a regular business person, working on professional accounting software, like QuickBooks, just isn't always easy. Thus, users may have to face a quantity of issues and error messages when using the software; once you feel something went wrong together with your accounting software and cannot discover a way out, you can get technical support from QuickBooks Customer Service, day time and night to fix any issues linked to QuickBooks.

    ReplyDelete
  9. QuickBooks Payroll has emerged one of the better accounting software that has had changed the meaning of payroll. Quickbooks Enhanced Payroll Customer Support will be the team that provide you Quickbooks Payroll Support. This software of QuickBooks is sold with various versions and sub versions.

    ReplyDelete
  10. QuickBooks Payroll has emerged one of the better accounting software that has had changed the meaning of payroll. Quickbooks Enhanced Payroll Customer Support will be the team that provide you Quickbooks Payroll Support. This software of QuickBooks is sold with various versions and sub versions.

    ReplyDelete
  11. Give a call at QuickBooks Support Phone Number, if you're encountering any difficulties that are mentioned above. In case you are facing every other difficulties with your QuickBooks, then you can certainly also make instant calls. Your queries are certain to get resolved without any delays.

    ReplyDelete
  12. Intuit QuickBooks Support helps to make the process far more convenient and hassle free by solving your any QuickBooks issues and error in only an individual call. We offer excellent tech support team services once we have the highly experienced and certified professionals to provide you the gilt-edge technical support services.

    ReplyDelete
  13. In addition QuickBooks Tech support Number enables you to have a crystal-clear insight of the business which will help anyone to monitor your hard earned money, taxes as well as sales report, everything at one place.

    ReplyDelete
  14. QuickBooks Enterprise is a huge accounting software suite offered by QuickBooks Enterprise Technical support Number. The power-packed tools of this software enable you to handle your different business accounting module with ease.

    ReplyDelete
  15. QuickBooks Customer Support Number difference that we make amongst our competitors is that our services can be obtained 24*7. But we now have made certain that our services are there not only for namesake. We actually deliver upper end, quality tech support team services to all our customers.

    ReplyDelete
  16. QuickBooks Enterprise Tech Support is tailored for your business specifically. It has all those features that are needed individually for different type of industries.It enables you to track your inventory.

    ReplyDelete
  17. Intuit QuickBooks Support is assisted by our customer support specialists who reply to your call instantly and resolve all of your issues on the spot.

    ReplyDelete
  18. Inuit has surely made inventory management an invaluable feature associated with QuickBooks. As the user can very quickly deal with vendors and wholesalers and payment (pending or advance) related to vendors and wholesalers. Our Intuit QuickBooks Support team will certainly there for you really to guide and assist you in inventory management.

    ReplyDelete
  19. All the clients are extremely pleased with us. We've got many businessmen who burn up our Intuit QuickBook Support It is possible to come in order to find the ideal service for your requirements.

    ReplyDelete
  20. Will not need to worry if you're stuck with QuickBooks issue in midnight as our technical specialists at QuickBooks Support Phone Number is present twenty-four hours a day to serve you along with the best optimal solution very quickly.

    ReplyDelete
  21. QuickBooks accounting software program is integrated with various items like QuickBooks Enterprise(produced by Intuit) and tools like QuickBooks file doctor. Plus it offers a number of incredible features (Business plans, cash flow projections, and advanced inventory ) that make it unique from other Quickbooks product. It is really most suitable for small to medium businesses though it really is incredibly expensive. Without doubt, this has good compatibility with virtually every form of Windows OS, Mac OS, iOS, and Android. Yet you may possibly require an efficient QuickBooks Enterprise Support to address payroll management, account management, inventory, along with other accounting activities. AccountWizy provides you a perfect and efficient QuickBooks Enterprise Number USA to really make it all possible.

    ReplyDelete
  22. Stay calm when you are getting any trouble using payroll. You just need to make one call to solve your trouble by using the Intuit Certified Pro Advisor. Dial QuickBooks Payroll Customer Service Number for effective solutions for basic, enhanced and intuit full service payroll. Whether the issue relates to the tax table update, service server, payroll processing timing, Intuit server unable to respond, or QuickBooks update issues; we assure you to deliver precise technical assist with you on time.

    ReplyDelete

  23. Your tech support team team is simply only one tap away, dial our QuickBooks Tech Support Number and experience our best hassle-free tech support team.

    ReplyDelete
  24. You must not worries, if you're facing trouble using your software you're going to be just a call away to your solution. Reach us at QuickBooks Tech Support Number at and experience our efficient tech support team of several your software related issues.

    ReplyDelete
  25. QuickBooks Enterprise Tech Support Number provides end-to end business accounting experience. With feature packed tools and features, this software program is effective at managing custom reporting, inventory, business reports etc.

    ReplyDelete
  26. Our QuickBooks Support phone number channel- We comprehend the complexity and need using this accounting software in day to day life. You can’t be cautious about more or less time for it to get a fix of each and every single QB error. Therefore we have designed a especially dedicated team of certified professionals at QuickBooks Tech Support Number that are in a position to understanding your issues and errors in minimum time along with the absolute most convenient way. Dial our QuickBooks Support Phone Number and avail the most truly effective solution you will need.

    ReplyDelete
  27. Earnings: for starters, a small business can simply survive if it is making adequate profits to smoothly run the operations associated with the work. Our QuickBooks Support Phone Number team will certainly show you in telling you about the profit projections in QuickBooks.

    ReplyDelete
  28. QuickBooks Tech Support Number has made scores of business people to access and sort due to their overall financial expenses, manage their accounts swiftly and derive proper plan for future business purposes.

    ReplyDelete
  29. Our QuickBooks Tech Support Phone Number team for QuickBooks provides you incredible assistance in the shape of amazing solutions. The grade of our services is justified because of this following reasons.

    ReplyDelete
  30. There are many features that produce QuickBooks Tech Support Number Premier standout such as for example it offers bank security that aids you to go with IT maintenance smoothly. You might also add number of users that will access company files at multiple locations.

    ReplyDelete
  31. QuickBooks Tech Support Inc has indeed developed an excellent software product to manage the financial needs associated with the small and medium-sized businesses. The name regarding the application is QuickBooks. QuickBooks, particularly, doesn't have any introduction for itself. But one who is unknown to this great accounting software, we wish one to give it a try.

    ReplyDelete
  32. Though these features be seemingly extremely useful as well as in fact these are typically so, yet there are lots of loopholes that will trigger a couple of errors. These errors may be resolvable at QuickBooks Technical Support Number, by our supremely talented, dedicated and well-informed tech support team team.

    ReplyDelete
  33. QuickBooks Payroll Support Phone Number clients get back to us often times. We keep all the data safe plus in secrecy. We will never share it with other people. Thus, you can rely on us in terms of almost every data. we have a method of deleting the ability which you have put immediately from our storage. Thus, there's no possibility for data getting violated.

    ReplyDelete
  34. Hence the consumer can do HP Printer repair steps for setting within the device if you take assistance from h . p . Printer customer support. To create it up, the HP Printer Support Number user needs to uninstall the printer software, and then reinstall the most recent driver. After this is performed, they have to restart the complete device again. This might lead an individual to create their device and troubleshoot the HP Printer no longer working issue.

    ReplyDelete
  35. Earnings: to begin with, a company can only just survive when it is making adequate profits to smoothly run the operations regarding the work. Our QuickBooks Support team will surely show you in helping you discover concerning the profit projections in QuickBooks Payroll Support Phone Number.

    ReplyDelete
  36. Even as QuickBooks Enterprise Support Number provide a day customer support at , your issues are resolved at any instance of times from technically skilled professionals at minimal price.

    ReplyDelete

  37. More often than not when people are protesting about incorrect calculation and defaults paychecks results. Similarly fixing QuickBooks Payroll Technical Support structure of account can also be a confusing strive to do and hard to handle all of these for a common user.

    ReplyDelete
  38. Earnings: For one thing, a company is only able to survive if it's making adequate profits to smoothly run the operations of this work. Our QuickBooks Support team will certainly show you in telling you about the profit projections in QuickBooks Tech Support Number.

    ReplyDelete
  39. With QuickBooks Support Phone Number Pro you can easily easily effortlessly create invoices and keep close track of every little thing like exacltly what the shoppers bought, just how much they paid etc. In addition it enables you to have a crystal-clear insight of the business which will help anyone to monitor your hard earned money, taxes as well as sales report, everything at one place.

    ReplyDelete
  40. Payroll management is really an important part these days. Every organization has many employees. Employers have to manage their pay. The yearly medical benefit is really important. The employer has to allocate. But, accomplishing this manually will need the time. Aim for QuickBooks Payroll Technical Support Number.

    ReplyDelete
  41. Our specialist can surely do wonders as well as do it each and every day when a person comes to us with their QuickBooks problems. Our QuickBooks Support Phone Number team, especially, tackle every bugs and error of QuickBooks

    ReplyDelete

Post a Comment

Popular posts from this blog

How to Stop People From Reading Your Mind and Judging You

Powershell: Filling up an Existing Excel Sheet with data from SQL Server