- I created a site collection using the browser interface of SharePoint Foundation 2013: Application Management > Create Site Collection, set 28813-9 as title, http://host/sites/28813-9 as url and select template later.
- Created a project in Visual Studio Professional 2012: File > New Project > SharePoint 2013 - Empty Project, 28813-9 as project name, Deploy as Fram Solution with http://tstbpp2/sites/28813-9/
- Clicked on project node, Add > New Item.. > Site Definition (Farm Solution only) with name 28813-9-SiteDef
- Clicked on project node, Add > New Item... > Module, named this Module 'Pages'
- Edited onet.xml
<NavBars><NavBar Name="My Link" Url="/Pages/Sample.txt" ID="5000" /></NavBars>
- (1=5) Clicked on project node and did 'Deploy'
- Opened url http://tstbpp2/sites/28813-9/Pages/Sample.txt in webbrowser and got: Placeholder file for the SharePoint module. A module contains files that are included in a SharePoint application when it is deployed. For more information, search Help for module.
- Opened url http://tstbpp2/sites/28813-9/ and could not see "My Link" which I configured in onet.xml.
So, my customization of NavBars is not being taken. What a I doing wrong?