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%20Bogan> > > ------------------------------ > 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/interactivecard> > > > _______________________________________________ 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
