Retrieve a List's Column Definitions

Retrieves the column definitions of a given SharePoint list using the Microsoft Graph API.

Syntax

Below is a line-by-line overview of the automation syntax. Expand each line to learn more.

retrieve column definitions from the slist [whose [condition]]

Retrieves the column definitions of a given SharePoint list using the Microsoft Graph API. It can optionally filter based on a given condition.

Base Syntax

retrieve column definitions from the slist

  • What does it do? This is the base syntax for the procedure.

  • Where does it go? This phrase should be written on a new line.

  • Is it required? ✅ Yes — This part of the phrase is required.

  • Does it require input data? ✅ Yes — The list from which the schema will be retrieved must be specified for the slist.

Filter Condition Syntax

whose [condition]

  • What does it do? This is an optional clause used to specify a condition for filtering.

  • Where does it go? If used, this clause immediately follows the retrieve some column definitions from the slist phrase on the same line.

  • Is it required? 🌟 No — This clause is optional in the syntax.

  • Does it require input data? ✅ Yes — This clause requires a condition (a filter expression) to be specified.

Examples

1. Example 1

retrieve column definitions from the list

2. Example 2

retrieve column definitions from the list whose name is "Title"

Last updated

Was this helpful?