I have a WebTemplate using a team site as BaseTemplate, and was wondring how I could set the default page as home page instead of the home.aspx page and this during the provisioning process of the site so through a feature?
Thanks in advance!
|
I have a WebTemplate using a team site as BaseTemplate, and was wondring how I could set the default page as home page instead of the home.aspx page and this during the provisioning process of the site so through a feature? Thanks in advance! |
|||
|
|
|
Okay, to set the home page for a given site in a feature receiver should be something like:
Use that in FeatureActivated to set the home page in a feature. |
|||
|
|