Vijay, you can create a custom Content and Structure Report to get all pages using (or not using) a certain publishing layout. But at the end of the day, does it really matter? Just restrict the site collection layouts to the ones you want to keep in use. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Brian Farnhill Sent: Sunday, 4 March 2012 5:16 AM To: 'ozMOSS' Subject: RE: How to find Unused Page Layouts In Public facing site.
Can you give us some more info about what didn't work with the approach I gave you? You getting specific errors? What exactly didn't work Brian Farnhill Solutions Architect, Extelligent Design | SharePoint Server MVP phone: 0408 289 303 | twitter: @BrianFarnhill | blog: blog.brianfarnhill.com | xbox: Modern Bogan -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of vijaykumar raavi Sent: Saturday, 3 March 2012 9:28 AM To: ozMOSS Subject: Re: How to find Unused Page Layouts In Public facing site. Thanks Brian, This idea helped me very much. I could get all the Page Layouts in my SiteCollection , As there are 324 Page Layouts in my site collection, I was unable to retrieve Currently unused Page Layouts. I am trying to this since last 2 days. I was not able to solve it. Can any one help me! Thanks in advance. On Fri, Mar 2, 2012 at 4:31 AM, Brian Farnhill <[email protected]>wrote: > There are metadata properties on each page list item that specify the > content type called "PublishingPageLayout" that you should be able to > interrogate to get the page layout. It's usually formatted like this: > > "~SiteCollection/_catalogs/masterpage/MyPageLayout.aspx, My Page > Layout Name" > > So the first part being the relative path to the page layout, and the > second part being the name of the layout (although that's less import > as it can really be anything, especially if it was provisioned in a > feature and the developer set the text to something else). You could > iterate over all your pages and build a list of page layouts in use > and then compare that to the list of available page layouts and go from there. > > *Brian Farnhill* > *Solutions Architect, Extelligent Design | SharePoint Server MVP* > phone: 0408 289 303 | twitter: > @BrianFarnhill<http://twitter.com/BrianFarnhill>| blog: > blog.brianfarnhill.com | xbox: Modern > Bogan<http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Boga > n> > > ------------------------------ > Date: Thu, 1 Mar 2012 23:35:35 +0530 > Subject: How to find Unused Page Layouts In Public facing site. > From: [email protected] > To: [email protected] > > > Hi all, > I am migrating MOSS 2007 32-bit to MOSS 2007 64-bit. > There are many page layouts in my project which are not in use, Is the > any way to find all page layouts that is not used by any site. > I tried using Object model, I was unable to retrieve them, Can any one > help me! > > Thanks in advance.. > > -- > Regards, > *☛ VIJAYKUMAR* > <https://www.mcpvirtualbusinesscard.com/VBCServer/vijaymoss/interactiv > ecard> > > > _______________________________________________ ozmoss mailing list > [email protected] > http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss > > _______________________________________________ > ozmoss mailing list > [email protected] > http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss > > -- Thanks & Regards, *☛ VIJAYKUMAR* * * _______________________________________________ ozmoss mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss _______________________________________________ ozmoss mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
