Hi everybody ,
I just have installed user profile service and my sites in SharePoint 2013. Now I want to customize my site as every one create himself site , his site create some list and library for his automatically and also it attach my custom master page for his.
I can design new master page and staple it on my site using code like this :
SPWeb web = properties.Web; SPWeb rootWeb = web.Site.RootWeb; web.MasterUrl = rootWeb.MasterUrl; web.CustomMasterUrl = rootWeb.CustomMasterUrl; web.Update();
and also for creating some lists and document libraries ,I can create some event receivers on site create in order to create these lists.
Now I have some questions :
1-What solutions there are ?
2- Is this the best way to approach my idea.
3- If it is not, which is the best solution.
Thanks in advance.