tag:blogger.com,1999:blog-4126985520350746834.post7805054040973992478..comments2024-03-28T07:00:21.554+00:00Comments on Chris O'Brien: Creating, deploying and updating custom site definitionsChris O'Brienhttp://www.blogger.com/profile/10022906552670607366noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-4126985520350746834.post-85772629662055021412009-03-15T22:38:00.000+00:002009-03-15T22:38:00.000+00:00@Anonymous,Yes, that's exactly what a site definit...@Anonymous,<BR/><BR/>Yes, that's exactly what a site definition provides in SharePoint - a template (with XML defining the site features/functionality/page layouts etc.). So you're looking in the right place - if my article doesn't explain site definitions in a good way for you, suggest checking out the <A HREF="http://msdn.microsoft.com/en-us/library/ms454677.aspx" REL="nofollow">MSDN documentation on site definitions</A>.<BR/><BR/>HTH,<BR/><BR/>Chris.Chris O'Brienhttps://www.blogger.com/profile/10022906552670607366noreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-45815601075422399982009-03-13T12:43:00.000+00:002009-03-13T12:43:00.000+00:00I am aiming to make an application that creates au...I am aiming to make an application that creates automaticly a sharepoint site from an existing template by using XML files ( I think that onet.XML is the right one). <BR/>I made my template as an stp file but now i think i need to roll back my work with a site defintion.<BR/>Things are still fuzzy for me.<BR/>Am I in the right path ? <BR/>And can you help me find my way through with some tricks or advices ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-72969036886796309202008-07-15T07:54:00.000+01:002008-07-15T07:54:00.000+01:00Sure. This info is spread over several MSDN pages,...Sure. This info is spread over several MSDN pages, but can be found at <A HREF="http://msdn.microsoft.com/en-us/library/ms414322.aspx" REL="nofollow">http://msdn.microsoft.com/en-us/library/ms414322.aspx</A>.<BR/><BR/>HTH,<BR/><BR/>Chris.Chris O'Brienhttps://www.blogger.com/profile/10022906552670607366noreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-2778671191024075832008-07-09T14:39:00.000+01:002008-07-09T14:39:00.000+01:00Is there any information on Elements.xml schema. I...Is there any information on Elements.xml schema. I'm not sure which tags are needed or what each one is for. Could you clarify on the structure of Elements.xml? Thanks.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-14758078001467057892008-07-06T17:07:00.000+01:002008-07-06T17:07:00.000+01:00Hi Farrukh,Hmm, I'm not sure why you'd get this er...Hi Farrukh,<BR/><BR/>Hmm, I'm not sure why you'd get this error. The key line which tells SharePoint to activate the <I>site collection</I> publishing feature is this one:<BR/><BR/><Feature ID="F6924D36-2FA8-4f0b-B16D-06B7250180FA"><BR/><BR/>So long as you have this in your XML it should be automatically activated when a site collection is created from the definition. Remember though, that this feature probably needs to be activated on the site collection beforehard in order to create any <I>webs</I> from the definition.<BR/><BR/>HTH,<BR/><BR/>Chris.Chris O'Brienhttps://www.blogger.com/profile/10022906552670607366noreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-52249103375089198052008-07-01T14:38:00.000+01:002008-07-01T14:38:00.000+01:00Hi Chris,I was working on creating custom site def...Hi Chris,<BR/><BR/>I was working on creating custom site definition for using "Publishing" site definition, but i got following error while creating site collection:<BR/><I><BR/>"The Office SharePoint Server Publishing Infrastructure feature must be activated at the site collection level before the Publishing feature can be activated."</I><BR/><BR/>Then I used the "webtempProjectX.xml" and "onet.xml" from your solution that also has publishing feature, but I got the same error. <BR/>Please help.<BR/><BR/>Thanks,<BR/>FarrukhAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-71769800431964683402007-08-28T19:05:00.000+01:002007-08-28T19:05:00.000+01:00Hi John,I've not worked in this area I'm afraid, t...Hi John,<BR/><BR/>I've not worked in this area I'm afraid, though as far as I can see it's possible to drop the search web parts onto your own custom pages.<BR/><BR/>Maybe check that out to see if it's a valid approach.<BR/><BR/>Best of luck,<BR/><BR/>Chris.Chris O'Brienhttps://www.blogger.com/profile/10022906552670607366noreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-91382250616098922922007-08-27T01:33:00.000+01:002007-08-27T01:33:00.000+01:00Hi Chris,I am working on the similar stuff. I want...Hi Chris,<BR/><BR/>I am working on the similar stuff. I want to modify the look-n-feel of the MOSS search pages for my site. Let me know what could be the best approach to do this.<BR/><BR/>Thanks,<BR/>JohnAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-72339382307668276422007-08-07T15:05:00.000+01:002007-08-07T15:05:00.000+01:00Hi Randy,Yep, sounds like you're trying to solve t...Hi Randy,<BR/><BR/>Yep, sounds like you're trying to solve the exact same problem I solved. Am afraid you'll have to wait for the other articles though!<BR/><BR/>Alternatively, if you want to communicate offline, leave me another comment with your e-mail address (I won't publish it to the blog - all comments are moderated), and I'll contact you directly with my solution. Saves you waiting a few days for the articles etc.<BR/><BR/>Cheers,<BR/><BR/>Chris.Chris O'Brienhttps://www.blogger.com/profile/10022906552670607366noreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-14907343119678435892007-08-07T14:51:00.000+01:002007-08-07T14:51:00.000+01:00I am working on this right now. I am attempting t...I am working on this right now. I am attempting to customize the permissions within my site definition. I know through the UI you can break inheritance from the parent, but I a searching for how to do this and create custom groups and permission for my site at creation time. I've already got a feature for handling the site creation event working and it auto-generates several lists, I just need to find the right API to use in creating the permissions.Anonymousnoreply@blogger.com