Retrieve Lists within a SharePoint Site

This procedure is part of the SharePoint Book (BDK). To use this book, you must first learn it in your agent.

Overview

This procedure retrieves all lists within a given SharePoint site.

Input Concepts

Concept
Description
Type
Required

site

A SharePointSite object representing the site from which to retrieve document libraries.

sharepoint site

Yes

Output Concepts

Concept
Description
Type

site's lists

A list of SharePoint lists within the specified site.

sharepoint list

Examples

get some sites from sharepoint whose name is "Human Resources"
use the above as the site
retrieve the site's lists
get some sites from sharepoint whose name is "Human Resources"
use the above as the site
retrieve the site's lists whose name is "My List"

Last updated

Was this helpful?