RE: Custom Site Def not deploying .aspx when used on diff Site Collection
Hi, Just to make sure I described the situation properly: Custom Site Definitions I have created by engineering a site, then using the SSG to export them to a VSS project work fine when used on the web application where the site they are based off was created, but on other web apps, they create ok, but the pages that should be deployed with them (eg default.aspx - exist on the filesystem, and are referenced in the onet.xml) do not get created. 1) Currently running on WSSv3.0 SP1 2) Next step to try is to build one up from hand - just trying to avoid this if possible. Have looked over the ONET.XML (shudder) and the pages themselves but cant really see anythign wrong with them. Also considering adding a feature to the sites that simply adds the pages to the site if they dont already exist there - but think this is ugly as it will mean the pages bcome ghosted, when I really want it to live on the filesystem as much as possible. 3) Same thing happens if I create a template from one of the sites, and then export that to .stp, import it on another web app - site creates ok, but the pages aren't there. Rgds, Nige From: nemt...@msn.com To: ozmoss@ozmoss.com Subject: RE: Custom Site Def not deploying .aspx when used on diff Site Collection Date: Sat, 28 Nov 2009 15:03:03 +1100 Hello, 1) what’s the latest service pack Cumulative update do u have installed?! 2) Did you try to copy existing one and modify it instead of reverse engineering? 3) Any issues if you save it as template and create new sites from template? From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Nigel Witherdin Sent: Saturday, 28 November 2009 3:08 AM To: ozmoss@ozmoss.com Subject: Custom Site Def not deploying .aspx when used on diff Site Collection Hi All, Am experiencing an issue with some of my custom site definitions when I try using them on a different site collection to the one they were originally created on - they complete succesfully, but none of the aspx pages that should be at the root of the site are there (eg. default.aspx). I created the custom def's by creating the site (lists, pages, features, etc.) manually, then using the SP Solution Generator to create a site def as a VS proj, then finally moving the necessary files from the generated VS proj into my overall VS proj. Strangely, the custom def's work fine on the site coll where I originally manually created the sites, but not on any others. I have attached a copy of one of the problematic onet.xml's Can anyone please shed any light on what is going on here for me??? Many thanks, nige New! Receive and respond to mail from other email accounts from within Hotmail Find out how. _ Have more than one Hotmail account? Link them together to easily access both http://clk.atdmt.com/UKM/go/186394591/direct/01/___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
RE: Custom Site Def not deploying .aspx when used on diff Site Collection
Are these publishing pages? And are you using the template to create subwebs or root sites? Regards, Paul Online Developer, ICT CEO Sydney From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Nigel Witherdin Sent: Tuesday, 1 December 2009 12:33 AM To: OzMoss Subject: RE: Custom Site Def not deploying .aspx when used on diff Site Collection Hi, Just to make sure I described the situation properly: Custom Site Definitions I have created by engineering a site, then using the SSG to export them to a VSS project work fine when used on the web application where the site they are based off was created, but on other web apps, they create ok, but the pages that should be deployed with them (eg default.aspx - exist on the filesystem, and are referenced in the onet.xml) do not get created. 1) Currently running on WSSv3.0 SP1 2) Next step to try is to build one up from hand - just trying to avoid this if possible. Have looked over the ONET.XML (shudder) and the pages themselves but cant really see anythign wrong with them. Also considering adding a feature to the sites that simply adds the pages to the site if they dont already exist there - but think this is ugly as it will mean the pages bcome ghosted, when I really want it to live on the filesystem as much as possible. 3) Same thing happens if I create a template from one of the sites, and then export that to .stp, import it on another web app - site creates ok, but the pages aren't there. Rgds, Nige From: nemt...@msn.com To: ozmoss@ozmoss.com Subject: RE: Custom Site Def not deploying .aspx when used on diff Site Collection Date: Sat, 28 Nov 2009 15:03:03 +1100 Hello, 1) what's the latest service pack Cumulative update do u have installed?! 2) Did you try to copy existing one and modify it instead of reverse engineering? 3) Any issues if you save it as template and create new sites from template? From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Nigel Witherdin Sent: Saturday, 28 November 2009 3:08 AM To: ozmoss@ozmoss.com Subject: Custom Site Def not deploying .aspx when used on diff Site Collection Hi All, Am experiencing an issue with some of my custom site definitions when I try using them on a different site collection to the one they were originally created on - they complete succesfully, but none of the aspx pages that should be at the root of the site are there (eg. default.aspx). I created the custom def's by creating the site (lists, pages, features, etc.) manually, then using the SP Solution Generator to create a site def as a VS proj, then finally moving the necessary files from the generated VS proj into my overall VS proj. Strangely, the custom def's work fine on the site coll where I originally manually created the sites, but not on any others. I have attached a copy of one of the problematic onet.xml's Can anyone please shed any light on what is going on here for me??? Many thanks, nige New! Receive and respond to mail from other email accounts from within Hotmail Find out how.http://clk.atdmt.com/UKM/go/186394593/direct/01/ Add other email accounts to Hotmail in 3 easy steps. Find out how.http://clk.atdmt.com/UKM/go/186394593/direct/01/%20 ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
RE: Custom Site Def not deploying .aspx when used on diff Site Collection
Nope, not publishing pages (am using WSS) These are subsites that are being created, underneath the root site of a web application. Am starting to think there is nothing for it but coding up the def from hand, have a fairly good handle on the onet.xml now i think, so guess its not going to be too bad - as long as the sites work as expected at the end of it! If anyone can suggest anything, or knows a good way of constructing the sites (other then by copying an existing def and modifying to suit needs - this is what I am planning on doing) please let me know. In fact, does anyone know if creating a site template (stp) then opening it up as a cab, and using the files in there as a def (ie living on the filesystem) is an appropriate strategy?? Cheers, Nigel From: paul.no...@ceosyd.catholic.edu.au To: ozmoss@ozmoss.com Date: Tue, 1 Dec 2009 08:45:36 +1100 Subject: RE: Custom Site Def not deploying .aspx when used on diff Site Collection Are these publishing pages? And are you using the template to create subwebs or root sites? Regards, Paul Online Developer, ICT CEO Sydney From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Nigel Witherdin Sent: Tuesday, 1 December 2009 12:33 AM To: OzMoss Subject: RE: Custom Site Def not deploying .aspx when used on diff Site Collection Hi, Just to make sure I described the situation properly: Custom Site Definitions I have created by engineering a site, then using the SSG to export them to a VSS project work fine when used on the web application where the site they are based off was created, but on other web apps, they create ok, but the pages that should be deployed with them (eg default.aspx - exist on the filesystem, and are referenced in the onet.xml) do not get created. 1) Currently running on WSSv3.0 SP1 2) Next step to try is to build one up from hand - just trying to avoid this if possible. Have looked over the ONET.XML (shudder) and the pages themselves but cant really see anythign wrong with them. Also considering adding a feature to the sites that simply adds the pages to the site if they dont already exist there - but think this is ugly as it will mean the pages bcome ghosted, when I really want it to live on the filesystem as much as possible. 3) Same thing happens if I create a template from one of the sites, and then export that to .stp, import it on another web app - site creates ok, but the pages aren't there. Rgds, Nige From: nemt...@msn.com To: ozmoss@ozmoss.com Subject: RE: Custom Site Def not deploying .aspx when used on diff Site Collection Date: Sat, 28 Nov 2009 15:03:03 +1100 Hello, 1) what’s the latest service pack Cumulative update do u have installed?! 2) Did you try to copy existing one and modify it instead of reverse engineering? 3) Any issues if you save it as template and create new sites from template? From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Nigel Witherdin Sent: Saturday, 28 November 2009 3:08 AM To: ozmoss@ozmoss.com Subject: Custom Site Def not deploying .aspx when used on diff Site Collection Hi All, Am experiencing an issue with some of my custom site definitions when I try using them on a different site collection to the one they were originally created on - they complete succesfully, but none of the aspx pages that should be at the root of the site are there (eg. default.aspx). I created the custom def's by creating the site (lists, pages, features, etc.) manually, then using the SP Solution Generator to create a site def as a VS proj, then finally moving the necessary files from the generated VS proj into my overall VS proj. Strangely, the custom def's work fine on the site coll where I originally manually created the sites, but not on any others. I have attached a copy of one of the problematic onet.xml's Can anyone please shed any light on what is going on here for me??? Many thanks, nige New! Receive and respond to mail from other email accounts from within Hotmail Find out how. Add other email accounts to Hotmail in 3 easy steps. Find out how. _ Got more than one Hotmail account? Save time by linking them together http://clk.atdmt.com/UKM/go/186394591/direct/01/___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss