Add my custom ASPX Form for New And Edit In sharepoint foundation 2010

Oct 13, 2010 at 6:13 AM
Edited Oct 13, 2010 at 6:17 AM

 

How can i use my custom aspx page as New and Edit Form for a List Template. Please give me some example.

Thanks

Oct 29, 2010 at 11:44 AM

Hi Pankaj,

You can create your custom ASPX page and add it to the _Layouts Folder under 14 Hive. This folder consist of administrative pages and do not need to fetch the data from the database , instead it fetches data from web API .Then after  you have done that you need to open your site followed by_layouts/custom.aspx page.  EG:" http://provpc:14772/_Layouts/custompage.aspx" . This page will open your custom aspx page in sharepoint site. If you want to edit you can edit and add it back to layouts folder.

Regards,

Sushil Savadi

Nov 11, 2010 at 6:15 AM

 

Thanks for the ans .It i make a small change to achieve it i copied my custom pages to 14\template\pages by using mapped folder and change in schema as

<Forms type="NewForm" url="pages/MyCustomNewForm.aspx" setuppath="pages/MyCustomNewForm.aspx">