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 |
Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.