Name
wslists.AddList (listName, description, templateID)
Synopsis
Creates a list on a SharePoint site. Returns an IXMLDOMNodeList object that contains a description of the list.
|
Argument |
Data type |
Settings |
|---|---|---|
|
|
String |
The name of the list to create |
|
|
String |
A description of the list |
|
|
Integer |
A number identifying a list template to use (see following list) |
SharePoint provides the following predefined templates:
|
Announcements 104 |
Contacts 105 |
|
Custom List 100 |
Custom List in Datasheet View 120 |
|
DataSources 110 |
Discussion Board 108 |
|
Document Library 101 |
Events 106 |
|
Form Library 115 |
Issues 1100 |
|
Links 103 |
Picture Library 109 |
|
Survey 102 |
Tasks 107 |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access