NewList Method
Creates a SharePoint list of a specified type, such as Discussions, Contacts, or Survey.
Syntax
<Method ID="Text">
<SetVar Name="Cmd">NewList</SetVar>
<SetVar Name="ListTemplate">List_Type</SetVar>
<SetVar Name="Title">Text</SetVar>
<SetVar Name="Description">Text</SetVar>
<SetVar Name="displayOnLeft">[TRUE|FALSE]</SetVar>
<SetVar Name="VersioningEnabled">[TRUE|FALSE]</SetVar>
<SetVar Name="GlobalMtgDataList">[TRUE|FALSE]</SetVar>
<SetVar Name="AllowMultiVote">[on|off]</SetVar>
<SetVar Name="showUsernames">[on|off]</SetVar>
</Method>
Parameters
ID = "Text"
Name = "Cmd"
Name = "ListTemplate"
Name = "Title"
Name = "Description"
Name = "displayOnLeft "
Name = "VersioningEnabled"
Name = "GlobalMtgDataList"
Name = "AllowMultiVote"
Name = "showUsernames"
Decoded
<Method ID="0,NewList">
<SetVar Name="Cmd">NewList</SetVar>
<SetVar Name="ListTemplate">100</SetVar>
<SetVar Name="Title">New List 999</SetVar>
</Method>
Return Value
Success
Returns the code attribute, which is a signed-decimal representation of an HRESULT.
Error
Returns an XML-encoded Unicode (UTF-8) text string. See Error Message Format for Windows SharePoint Services for more information.