Thursday 1 September 2011

Deploy custom aspx Page in SharePoint 2010


To add files in various Folders of 14 Hive, Visual studio 2010 has provided an excellent ready to use mapping feature called SharePoint Mapped folders. With these you can deploy your files to 14 hive folders like in _layouts folder, Images folder, _layouts/1033/styles folder etc.

Steps to add custom aspx page in _layouts folder in SharePoint 2010 -
1. Open the Visual studio and create an empty project.
2. Next, select “Deploy as Farm solution”.
3. Next, right click on the Project and add navigate to “Add -> SharePoint “Layouts” Mapped Folder”.
4. Add your custom page in the Mapped Folder.
5. Finally build and deploy the solution.

and you're done!

Ads by Google

No comments:

Post a Comment