0
votes

I have sub sites of departments and under each department site I have sub sites of programs. I want to add an event receiver that should invoke when a sub site of department is created. so that I can add the name of that program and department is list.

2
Did you check for opions? What did you try so far?Shoban

2 Answers

1
votes

MOSS 2007 : SharePoint does not have event handling for Site Creation.

SP 2010 : Take a look at Site WebProvisioned and WebAdding methods.

0
votes

Do you control what kinds of sites are created? If so you could add a feature to the sitedefinitions which can write to your list in its feature activated method of the feature receiver.