Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

Restrict available web templates and page layouts in sharepoint 2010

$
0
0

Hi,

i have migrated the site definition solution from MOSS 2007 to SP 2010.

in onet.xml, i have set the available web templates and page layouts. it works fine when i create a new site collection with my templates.

but how i can do the same for already created site collection. i know how to do it through UI.

i wanted to know whether i can do it through some feature activation without any UI change?

on feature activation, i want to keep 2 web templates and 2 pagelayouts as the available one and want to inherit the same for sub sites.

any help would be appreciated.


Aruna


Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>