Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 758 Bytes

addList.md

File metadata and controls

36 lines (20 loc) · 758 Bytes

spwsDocs


spws / addList

Function: addList()

addList(listName, options): Promise<Operation>

Creates a new list.

Parameters

listName: string

options: Params = {}

Returns

Promise<Operation>

Link

https://learn.microsoft.com/en-us/previous-versions/office/developer/sharepoint-services/ms772560(v=office.12)

Example

// Get list collection for current site
const res = await addList("Announcements", { webURL: "/sites/other", templateId: 100, description: "Demo List" })

Defined in

services/lists/addList.ts:39