theITvideos
theITvideos

Reputation: 1502

Adding 2 simple aspx pages to Sharepoint Site Definition

I am working on a sharepoint website which is built upon a Site Definition in visual studio.

All i would like to do is simply add 2 aspx pages to this Site Definition. Kindly reply how can i accomplish this.

Do i add new aspx files under Site Template folder or add a new Feature perhaps? so that when i deploy my solution (.wsp) the two aspx pages appear on the site.

Upvotes: 0

Views: 1129

Answers (1)

user4531
user4531

Reputation: 2565

I suggest you create a module feature, add the two .aspx pages to the feature and then add this feature to the site definition.

Maybe also helpful: How to: Provision a File

Upvotes: 1

Related Questions