Reference

Table FilesFolders


Description

No description available

Supported Operations

Below section contains supported CRUD operations. Each operation is executed by some EndPoint behind the scene.
Method Supported Reference EndPoint
SELECT list_files
INSERT
UPDATE
UPSERT
DELETE delete_item
LOOKUP

Examples

SSIS

Use OneDrive Connector in API Source component to read data or in API Destination component to read/write data:

Read from FilesFolders table using API Source

API Source - OneDrive
Read and write Microsoft OneDrive data effortlessly. Integrate, manage, and automate files and folders — almost no coding required.
OneDrive
FilesFolders
Required Parameters
Record Filter (Client Side) Fill-in the parameter...
Drive Id / Shared Folder Fill-in the parameter...
Optional Parameters
Default Group or User Id (additional Scopes needed to list - If fails enter manually)
Search Type (Default=Recursive) search(q='')
Search Path (Default=Root Folder) - Max 200 listed /root
Order By Field(s) - Only for Recursive SearchType
SSIS API Source - Read from table or endpoint

Read/write to FilesFolders table using API Destination

API Destination - OneDrive
Read and write Microsoft OneDrive data effortlessly. Integrate, manage, and automate files and folders — almost no coding required.
OneDrive
FilesFolders
Select
Required Parameters
Record Filter (Client Side) Fill-in the parameter...
Drive Id / Shared Folder Fill-in the parameter...
Optional Parameters
Default Group or User Id (additional Scopes needed to list - If fails enter manually)
Search Type (Default=Recursive) search(q='')
Search Path (Default=Root Folder) - Max 200 listed /root
Order By Field(s) - Only for Recursive SearchType
SSIS API Destination - Access table operation

ODBC application

Use these SQL queries in your ODBC application data source:

Read all files and folders (recursive)

<p>Gets all files and folders recursively in a single result set. Use when you need both file and folder items from the whole drive. To limit by path or drive, supply <code>DriveId</code> and <code>SearchPath</code> with the <code>list_root</code> or <code>list_files</code> table.</p>

SELECT * FROM FilesFolders

SQL Server

Use these SQL queries in SQL Server after you create a data source in Data Gateway:

Read all files and folders (recursive)

<p>Gets all files and folders recursively in a single result set. Use when you need both file and folder items from the whole drive. To limit by path or drive, supply <code>DriveId</code> and <code>SearchPath</code> with the <code>list_root</code> or <code>list_files</code> table.</p>

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM FilesFolders';

EXEC (@MyQuery) AT [LS_TO_ONEDRIVE_IN_GATEWAY];