locked
How to Save site as template in SharePoint 2010 RRS feed

  • Question

  • hello,

    I am little bit confused about how I can save a site as a template in moss 2010!

    In SharePoint 2007 it was simple > site actions > save site as template... and done!

    but I do not find how to make that in the new SharePoint, I would be really happy if someone could tell me how to do that.

    I found some tutorial:

    To create a Site Template, browse to the Site you want to create from.  Go to Site Actions –> Site Settings –> Save site as template (under the Site Actions heading).  Give your template a name, and don't forget to check the "Include Content" box if you want to include library and list content in the template.  This will create a new site template in your Solutions Gallery, which you can then use when creating new sites.  You can also download directly from the Solutions Gallery to a .WSP file.

    but the thing is, I do not have the "save site as template" link! I also checked if I need some special site feature activated, but I have all activated.

    thank you in advance

    :-)


    • Moved by Mike Walsh FIN Thursday, April 15, 2010 11:54 AM 2010 questions all go to a suitable 2010 forum. A suitable 2010 forum is not one with "Pre-SharePoint 2010" in the Title (From:SharePoint - Design and Customization (pre-SharePoint 2010))
    Thursday, April 15, 2010 11:11 AM

Answers

  • what site template u r using?

    as save site as template exists in team site and not collaboration site.. BUT u can still do it in collaboration

    after your URL:

    for example http://server/_layouts/savetmpl.aspx

    just give it this URL  and u can save it as template

    Thursday, April 15, 2010 1:52 PM

All replies

  • what site template u r using?

    as save site as template exists in team site and not collaboration site.. BUT u can still do it in collaboration

    after your URL:

    for example http://server/_layouts/savetmpl.aspx

    just give it this URL  and u can save it as template

    Thursday, April 15, 2010 1:52 PM
  • Miimoss

    In order to save your site as a site template, you need to browse to the following:

    > Click Site Actions > Click Site Settings > Site Actions (section) > ClickSave site as template

     

    Read "Save site as template" option and the publishing feature for why its not supported if its a publishing template.

    Thursday, April 15, 2010 1:55 PM
  • I imagine you are trying to save a publishing site as a template, correct? If so, the save as site template link is not available for publishing sites. This was not supported in MOSS and I imagine isn't in SharePoint 2010. The reason was due to publishing sites having pages and layouts tied to content types that do not move with the template.

    If you would like a work around, you can disable the publishing feature (which will then make the save as site template link visible), save the site as a template, then re-enable the publishing feature. You would have to re-enable the publishing feature on each new site built from this template, if desired.

    Go to Site Actions > Site Settings > Manage site features under Site Actions. Deactive the SharePoint Server Publishing feature, then go back to the Site Settings page. You should now see the save as site template link. After you save the template, turn back on SharePoint Server Publishing.


    Adam Preston - MCTS | Blog: http://sptwentyten.wordpress.com | Twitter:@_apreston
    Thursday, April 15, 2010 2:27 PM
  • Thank you all very much for your answers! :-)

     

    To Adam:

    If I deactivate the site publishing feature there comes an message that any user data or customizations associated with this feature might be lost and any acitve features that depend on this feature might fail to function!

    so that means I cannot simple deactivate this feature and then save a site as template. and then go back an activate the feature again?!

    have you ever tried?

    thanks

    Thursday, April 15, 2010 2:50 PM
  • I'm not sure I would recommend activating and deactivating the feature just to havesave as site template

    Alternative, if you just want to only recreate list and document libraries, you can save those as site templates for later reuse.

     


    Kanwal SharePoint Buzz
    Thursday, April 15, 2010 3:18 PM
  • Based on what I encountered before, after the publishing feature is deactivated, you can save the site as template. The template will have most (if not all) features as it were on the actual site. After you reactivate the publishing feature for that site, you need to readjust back some of the features associated with publishing feature such as master page.

    Perhaps the better trick would be the URL method. Just add /_layouts/savetmpl.aspx to the site's URL.

    • Proposed as answer by mafx Wednesday, May 9, 2012 4:16 PM
    • Unproposed as answer by mafx Wednesday, May 9, 2012 4:16 PM
    Tuesday, May 4, 2010 5:09 AM
  • Alternatively try this from powershell (right click>run as administrator)

    $Web=Get-SPWeb http://Servername:port/yourSite

    $Web.SaveAsTemplate(“Template Name”,”Template Title”,”Template Description”,1)

    1 if you want to save data as well or 0 just for the features.

    • Proposed as answer by GoingForward Wednesday, May 9, 2012 4:45 PM
    • Unproposed as answer by Hemendra Agrawal Thursday, July 25, 2013 5:04 AM
    Tuesday, February 21, 2012 3:50 PM
  • 1. How/where do I go, to change the site's URL address?

    2. Will the doc libs in the site, and all of their content, also be saved (which is what I want to happen)?

    Thanks,


    Semi-Newbie

    Thursday, May 15, 2014 12:31 PM