Skip to content

Latest commit

 

History

History
41 lines (23 loc) · 953 Bytes

getListCollection.md

File metadata and controls

41 lines (23 loc) · 953 Bytes

spwsDocs


spws / getListCollection

Function: getListCollection()

getListCollection(__namedParameters): Promise<Operation>

Returns the names and GUIDs for all lists in the site.

Parameters

__namedParameters = {}

__namedParameters.webURL?: string = defaults.webURL

The SharePoint webURL

Returns

Promise<Operation>

Link

https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-services/ms774663(v=office.12)?redirectedfrom=MSDN

Example

// Get list collection for current site
const res = await getListCollection()

// Get list collection for another site
const res = await getListCollection({ webURL: "/sites/other" })

Defined in

services/lists/getListCollection.ts:31