adding sub sites uisng only XML files
I have a site definition. I need to add some sub sites to it while site is being created with out using the code. can anybody share some info regarding this which files are related and what configuration needs to be edited...?
Thanks,
March 23rd, 2011 4:13am
Please refer to the following links. Hope it would be helpful.
http://social.msdn.microsoft.com/forums/en-US/sharepointcustomization/thread/e2a4bd40-ddb8-4dc6-b43b-8f1b248a647f/
http://weblogs.asp.net/paulballard/archive/2007/04/09/creating-a-custom-sharepoint-2007-portal-site-definition-using-the-portalprovisioningprovider-class.aspx
http://dhondiyals.wordpress.com/2010/03/10/custom-site-definition-for-creating-sub-site/
--Cheers
Free Windows Admin Tool Kit Click here and download it now
March 23rd, 2011 7:17am
Hi Pa1 Kumar,
As per my understanding, you want to include subsite definition in your site definition also. If yes then you can add one more template in your definition file to create it.
<Template Name="SUBSITE" ID="1003">
-----so on..
I think this blog can help you
http://social.technet.microsoft.com/Forums/en-US/sharepointgeneral/thread/f0f34ea3-00c4-4cc8-bd1d-f737d22eb62d/
OR
You can also create event handler to create subsite while creating a site collection.
Look into this article
http://blog.jussipalo.com/2007/03/mss-2007-creating-subsites-in-site.html
Hope it could helpCheers, Hemendra-MCTS "Yesterday is just a memory,Tomorrow we may never see"
March 23rd, 2011 7:21am
Hi Hemendra,
Yes I need to include Sub site definition in my site definition also. But I have a doubt regarding that Can't I include Provision Assembley and Provision data and Provision Class attributes in site definitions which do not include Publishing Feature..?
Thanks,
Free Windows Admin Tool Kit Click here and download it now
April 1st, 2011 4:51am