Create Publishing Pages on custom Document Libraries in SharePoint
May 1, 2009 Leave a comment
Have you ever wanted to create pages in your custom document libraries in MOSS 2007 ?
When you click on Create Page under Site Actions, it always defaults to the Pages library. Well not any more.
Here is a great post on how to work around that limitation.
Some things to note after making these changes
- Import the Microsoft.SharePoint.Publishing namespace in your custom page
- Enable the Page Content Type for the document library for it to show up in the dropdown list