مناقشة عامة Site Templates Deprecated

  • 29 decembrie 2009 16:04
     
     

    From this document http://msdn.microsoft.com/en-us/library/ee662217(office.14).aspx


    Site Template Redeployment

    Site templates are deprecated. If you need to redeploy a site template to either SharePoint Foundation 2010 or SharePoint Server 2010, follow these steps:

    1. Create a site from the site template.

    2. Install SharePoint Foundation 2010 or SharePoint Server 2010 on your existing server farm or on a new server farm. If you install the upgrades on a new server farm, attach the content database that contains the site that you created to the new farm.

    3. On the new installation, choose Save Site as Template from the Site Settings page. This creates a solution package with a .wsp file name extension.


      This is a super simple set of instruction but I don't understand it, 
      Here is what I think is being said, ....you could go through an upgrade and hope that your site templates will allow a single attempt and transforming them into solutions. And then I guess the Solution is managed on the farm. You would then "create new site" based on that solution. I imagine that new template/solution appears in the site templates selection area of the new site creation process, even though site templates are depricated?? This instruction also seems to imply that the site template with which to generate the solution is a root site collection only and therefore this would not work if your site template was derived from a web (last node of a site collection).

      Thanks for any comments.

Toate mesajele

  • 29 decembrie 2009 18:23
     
     
    Maybe a better way to say it is: "STP files are deprecated in favor of WSP files".

    The work around is to create new, and empty, sites from the 2007 templates before the upgrade, then upgrade to 2010, and after the upgrade use these empty sites to create new WSP files.  These new WSP files are the next generation templates and will be added to the "Create" page. So the


    > This instruction also seems to imply that the site template with which to generate the solution is a root site collection only

    The Save As Template in 2007 works at every level (top, subsite, etc). (but it does not work for sites created from Publishing templates)


    Does that help?
    Mike Smith TechTrainingNotes.blogspot.com
  • 29 decembrie 2009 20:06
     
     
    Thank you very much, I think you understood and answered perfectly.
    I have a web that gets frequent updates to serve as a template for all other webs.
    With each improvement to that web it gets saved off as a template upon which the next web would be built from.
    So in fact with an eyes closed upgrade, I could use that web to create the new WSP file once the farm is upgraded.
    This sounds seamless.

    WRT

    "The Save As Template in 2007 works at every level (top, subsite, etc)"

    ...yes...

    So in order for the "seamless" part to be true I need to know

    "The Save As Template (from now on a Solution) in 2010 works at every level (top, subsite, etc)"

    because I will be using a subsite in the upgraded to 2010 to generate the first and consecutive .wsp's
    that will carry me into the future.