Master page as a feature

In order for the master page to appear in the master page list, we need to add the GhostableInLibrary attribute to the File tag of the Elements.xml module file.

<File Path="Package\MyMaster.master" Url="MyMaster.master" Type="GhostableInLibrary"/>

http://social.technet.microsoft.com/Forums/en/sharepoint2010programming/thread/ff00d80e-b20b-4cf0-bca7-e26ef70ab1b8

Comments

Popular posts from this blog

Breaking down document locking in SharePoint

Working around X-Frame-Options for iframes

Document ID not being generated