tag:blogger.com,1999:blog-5096437112654914738.post3124825834063766659..comments2024-02-02T17:10:26.103+10:00Comments on Rod Howarth: How to create a site programmatically in WSS 3.0Rod Howarthhttp://www.blogger.com/profile/07098343984635127435noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-5096437112654914738.post-18986948120225944392009-04-18T05:24:00.000+10:002009-04-18T05:24:00.000+10:00Hi all,
I tried to create a custom site and save ...Hi all,<br /><br />I tried to create a custom site and save it as the template to use in my code behind for new site. However, it created the new site correctly but it lose the parent breadcrum. Anyone run into the same issue? Thanks in advance for any feedback.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5096437112654914738.post-52212557405283720272008-10-19T00:55:00.000+10:002008-10-19T00:55:00.000+10:00Thanks a million, Rod. I've been looking all over ...Thanks a million, Rod. I've been looking all over to find where to find the info for the template parameter.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5096437112654914738.post-12411217817429570482008-07-11T21:33:00.000+10:002008-07-11T21:33:00.000+10:00thanks for sharing!thanks for sharing!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5096437112654914738.post-63382747181794920192008-05-23T04:28:00.000+10:002008-05-23T04:28:00.000+10:00One downside to creating sites from a site templat...One downside to creating sites from a site template rather than using a site definition or feature is that you will replicate any unghosted files in the template. You will also need to make changes to each site that uses the template if additions/changes are needed. With a feature or site def, the files live on the file server and can be updated centrally. Those changes will be reflected in all the sites using the feature or site template (assuming they have not been customized).Unknownhttps://www.blogger.com/profile/18354896510398709724noreply@blogger.comtag:blogger.com,1999:blog-5096437112654914738.post-25069301145056870692008-03-07T03:44:00.000+10:002008-03-07T03:44:00.000+10:00Where do I put the spsite code to make this work? ...Where do I put the spsite code to make this work? I would love to have a page I can post to that will create a new subsite.Anonymoushttps://www.blogger.com/profile/06333312348161434917noreply@blogger.comtag:blogger.com,1999:blog-5096437112654914738.post-10257011344053971792008-02-22T17:26:00.000+10:002008-02-22T17:26:00.000+10:00Thanks gizzy!Thanks gizzy!Rodhttps://www.blogger.com/profile/15899139042547529668noreply@blogger.comtag:blogger.com,1999:blog-5096437112654914738.post-57274817698963091742008-02-19T06:21:00.000+10:002008-02-19T06:21:00.000+10:00Don't forget to dispose of your SPSite and SPWeb o...Don't forget to dispose of your SPSite and SPWeb objects when you're done with them!<BR/><BR/><B>newSite.Dispose();<BR/>newWeb.Dispose();</B><BR/><BR/>While it's not the end of the world, omitting this code will cause more and more memory to be consumed over time.<BR/><BR/>See the following MS KB article:<BR/><A HREF="http://msdn2.microsoft.com/en-us/library/aa973248.aspx" REL="nofollow">http://msdn2.microsoft.com/en-us/library/aa973248.aspx</A><BR/><BR/>GizzyJarhttps://www.blogger.com/profile/16509001866785449752noreply@blogger.comtag:blogger.com,1999:blog-5096437112654914738.post-21474073583328841712008-01-21T23:28:00.000+10:002008-01-21T23:28:00.000+10:00Thanx Man, I was Missing the Update() Call in my c...Thanx Man, I was Missing the Update() Call in my code. It works fine for me now.<BR/><BR/>Thanx for blogging!Anonymousnoreply@blogger.com