Reference

Table SharedWithMe


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 SharedWithMe (***DEPRECATED*** Not valid for Application Creds or other user) 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
SharedWithMe (***DEPRECATED*** Not valid for Application Creds or other user)
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 SharedWithMe (***DEPRECATED*** Not valid for Application Creds or other user) 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
SharedWithMe (***DEPRECATED*** Not valid for Application Creds or other user)
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 files and folders shared with me

<p>Gets files and folders shared with the current user. To list items inside a shared folder use the <code>FilesFolders</code> table with <code>DriverId</code> (from <code>SharedWithMe</code>) and optional <code>SearchPath</code> (e.g. /root:/folder/subfolder:).</p>

SELECT * FROM SharedWithMe

SQL Server

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

Read files and folders shared with me

<p>Gets files and folders shared with the current user. To list items inside a shared folder use the <code>FilesFolders</code> table with <code>DriverId</code> (from <code>SharedWithMe</code>) and optional <code>SearchPath</code> (e.g. /root:/folder/subfolder:).</p>

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

EXEC (@MyQuery) AT [LS_TO_ONEDRIVE_IN_GATEWAY];