Is it possible to override site creation in Sharepoint?

We want to customize the My Site templates for different roles, say students and teachers. So basically we want to have one site protection. for each and when they click "My Site", we want to create a new site using a different template depending on the user's role (Student vs. Teacher). Does anyone know if this is possible? Or any jobs that might work?

I know that code can be executed during the process, I've seen many examples of this, but we want to do some things before that happens ...

EDIT: is it possible to override the link to "my site" and then create a new site manually?

+1


source to share


1 answer


You cannot create a custom site definition for mysite. The way to work is described here on the SharePoint team blog.
Then, in executable code, you can activate features based on the user's current role.



This is the easiest (and most supported) way I can think of.

+1


source







All Articles