SharePoint.Contents

This function retrieves a table listing all folders and documents located at the provided SharePoint site URL. Each row in the table displays properties of the folder or file along with a link to acce...

Syntax

SharePoint.Contents(url as text, optional options as nullable record) as table.

About

This function retrieves a table listing all folders and documents located at the provided SharePoint site URL. Each row in the table displays properties of the folder or file along with a link to access its contents. Users can specify options to customize the behavior of the function. One available option is ApiVersion, which can be set to a number (14 or 15) or the text "Auto" to indicate the SharePoint API version to be used for the site. If no version is specified, the function defaults to using API version 14. If "Auto" is selected, the function will attempt to automatically detect the server version; if detection fails, it will default to version 14. It is important to note that non-English SharePoint sites require at least version 15.