Monday, May 31, 2010

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

No comments:

Post a Comment