FlowmageDocs

List SharePoint lists

BetaReads data

Lists the lists and document libraries of one SharePoint site.

Settings

SettingWhat it is
ConnectionRequiredThe Microsoft Graph connection the step signs in with.
Site idRequiredThe id Get SharePoint site answered — host name, site GUID and web GUID.
FieldsComma-separated property names. Add system to include the lists SharePoint hides.
Lists per call1 to 999.
Fetch every pageFollows Graph's own next-page link.
Stop afterPages — at most 50.
CursorPaste a previous run's Next cursor to read the page after it.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `microsoft-graph`)
siteIdtext
selecttext, by default "id,displayName,name,webUrl,list"
topnumber, by default 100
returnAlltrue/false, by default false
maxPagesnumber, by default 10
cursortext

Output

FieldType
listsarray
countLists in this answernumber
hasMoreMore lists are waiting behind this pageboolean
nextCursorCursor for the next pagestring
Sample output, and the expression for each field
  • count0
  • hasMorefalse
  • lists[]
  • nextCursor""

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "connection": "<connection id>",
    "cursor": "",
    "maxPages": 10,
    "returnAll": false,
    "select": "id,displayName,name,webUrl,list",
    "siteId": "<site id>",
    "top": 100
  },
  "label": "List SharePoint lists",
  "type": "graph.listLists",
  "version": 1
}