views:

16

answers:

1

Is there any other ways of exporting a sites as solution in SharePoint Foundation 2010 except through "Site Settings -> Site Actions -> Save Site as Template"?
Seems to be the only way, just to make sure I'm not missing anything (through the designer probably? There's an option in the designer, but it brings you to the same "Save Site as Template" page)

Thanks!

+1  A: 

Hi axk

In the out-of-the-box UI that's the only place to export a site, but note that unlike sp2007 this now export your site as a wsp-package

In the object model there are a couple of ways to export the site:

  • SPWeb.SaveAsTemplage
  • SPSolutionExporter.ExportWebToGallery
  • SPSolutionExporter.ExportWeb
Per Jakobsen