cancel
Showing results for 
Search instead for 
Did you mean: 

customize site

tb13
Champ in-the-making
Champ in-the-making
Hi I would like to know following:

1. Upon site creation, how can I tell share only to create a site with a dokument library and e.g. a wiki. Is there a file (xml) where I could specify that?

2. I would like to populate the freshly instanciated site dokument library with a custom folder structure (I have a data webscript that is working and doing that) however I don't know where I need to call the webscript to make that happening. Also I have read somewhere on this forum that the doc lib does not exist until the sitedashboard has been visited (true false?).

Thanks for pointers in the right direction.

tb
3 REPLIES 3

calle
Champ in-the-making
Champ in-the-making
1. Use the presets.xml file to customize components used in the site
2. I would write a NodePolicy for type st:site that acts on create events. In this policy you could set up the custom structure
//Carl

tb13
Champ in-the-making
Champ in-the-making
Hi Calle,

1. works like a charm thanks.

2. I am not quite sure how to go about that, is there a wiki page or tutorial on how to create a NodePolicy?

tb13
Champ in-the-making
Champ in-the-making
2. I would write a NodePolicy for type st:site that acts on create events. In this policy you could set up the custom structure
//Carl

I think the 2nd idea is not what I want. I have a predefinde folder structure in the document library and taged documents etc. that is standard for every projekt and sometimes country specific. Thus on site creation I want to copy that structure to the site documentlibrary, and not create it from scratch.

Any helpers?