1
vote
0answers
12 views

How to get SPFeatureDefinition for Generic List in sandboxed solution

When creating custom list programatically from schema Add method needs SPFeatureDefinition object of the base list used. SPListCollection.Add method (String, String, String, String, Int32, String, ...
0
votes
1answer
28 views

Site provision cycle

I have some site definitions in which I have added multiple lists into the <Lists> tag and then I've added a stapling feature which will trigger a series of web-scoped features when sites are ...
0
votes
1answer
42 views

Developing a custom NewForm

I have created a custom layout in _layours/PhoneBook/createform.aspx and then wrote the following code to run upon activation: private void newAddFormForMembers(SPWeb web) { SPList ...
0
votes
1answer
60 views

Remove a list from all site collections when a feature is uninstalled

I have a site scoped Feature which specifies a list as such: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> ...
5
votes
3answers
7k views

Best method to create custom NewForm / EditForm

I am new to sharepoint development and need to create some custom NewForm/EditForms for a new custom list I am creating. It seems like I have two choices: ...