Tag Info

New answers tagged


To solve this problem: when you create your Visual Studio project, select "Deploy as a farm solution" instead of "Deploy as a sandboxed solution".


Open the list in Shareoint Designer and create a new NewForm.aspx - we need the old one in case of a problem. Then, using UI edit, delete the webpart and add yours webpart


Create a feature receiver. On activation event use below snippet to change the Page. SPList lst = web.Lists["ListTitle"]; string newUrl = url; var form = web.GetFile(newUrl); if (form != null && form.Exists) { lst.DefaultEditFormUrl = newUrl; lst.Update(); } Also make sure to create those pages using Module and Elements.xml file.

Top 50 recent answers are included