0

I have created a basic web template using the following post and added a custom list to it, this works fine. http://sebastiantegel.wordpress.com/2012/06/26/webtemplates-is-the-way-to-go/

I now want to add a screen/page to the web template which will show this list and also 2 visual web parts, the nav bars on the left should link to the page (i know how to do this part).

I am a new sharepoint developer.

I need to add a page to the web template which will show a list and also 2 custom visual web parts.

How do i do this in visual studio (it has to be done in visual studio)?

0

Add the file in the webtemplates folder, then add it into the onet.xml to be created when you make the site.

Files get added to the onet file near the bottom, you can see the layout:

<Module Name="myfile" Url="" Path="">
  <File Url="myfile.aspx" NavBarHome="True" Type="Ghostable"/>
</Module>

It's as simple as that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.