Create list from list template sharepoint 2010 programmatically |
Creating a list using existing Custom List template - _web.Lists.Add(“MyCustomList”, “My list description”, _siteCollection. or SPSite siteCollection = SPContext.Current.Site; mySite.Lists.Add(“Custom List”, “A list created from a custom list template in the list template catalog”, listTemplate); _web – > SPweb object Creating a list using Out-of-Box List template - _web.Lists.Add(“MyCustomList”, “My list description”, SPListTemplateType. Programmatically saving a List as a Template in SharePoint 2010 - SPList mySourcelist = _web.Lists["MyCustomlist"]; |
Monday, November 28, 2011
Create list from list template sharepoint 2010 programmatically
Category:
SharePoint 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment