I am developing publishing site and it will have complex tree structure.
Is there any way to deploy site structure (multiple sub sites – SPWeb) using SharePoint solution?
I know I can create site tree programmatically.
I am developing publishing site and it will have complex tree structure. Is there
Share
I have been on a project with the same needs, but we didn’t find the answer with the OOTB functionality of the feature framework. We also had to go through the object model and do the creation programmatically.
But instead of hard-coding the site structure, we took a different approach. Our solution was to implement a generic SiteCreation feature that takes an xml file as input. The xml defines the site structure and is read by the feature receiver which parses it and creates the specified sites.
I know that there is some coding involved in this solution, but I think the extra work is well spent, since the site structure will likely change numerous times before it reaches production.