spws • Docs
spws / getListCollection
getListCollection(
__namedParameters
):Promise
<Operation
>
Returns the names and GUIDs for all lists in the site.
• __namedParameters = {}
• __namedParameters.webURL?: string
= defaults.webURL
The SharePoint webURL
Promise
<Operation
>
// Get list collection for current site
const res = await getListCollection()
// Get list collection for another site
const res = await getListCollection({ webURL: "/sites/other" })