Tuesday, June 10, 2008

"Save site as Template" for Publishing sites!!! "

Hi guys,

I am here again to discuss one of small issue with developer and client when they are looking for reuse thier work with publishing sites.

When one of my client create a new site using publishing site template. He need to create more sites with same structure on his other site then he ask me that can they do the same without doing everything again...is their any feature in MOSS. I simply told them "Yes" just go to Site Setting->Under look and feel ->Save this site as a template with or without including contents depends on you. He was very happy to save their a lot of time as well as effort. But shortly shouted on me that their is no option here. :D

Then i double check my self and found that this feature is not enable for Publishing sites only. Rest of the sites you can use this feature. My client was worried about their rework and i was in confusion that Microsoft forgot this feature for Publishing sites.
Then again last option Google. I found that if site don't have publishing features enabled then you will not able to find out this feature for all sites...but even after this publishing sites will not able to use this feature. Then i found a little trick. Here it is:-

In order to save any Publishing Site as a template, you must manually append the site template address "/_layouts/savetmpl.aspx" to the site URL. So for instance, if your site is http://MyServer/Mysite , you can save the template by manually browsing to http://MyPortal/Myite/_layouts/savetmpl.aspx.

Thank GOD finally i save myself !!!

Hope it will work for you too...