Create List Item
Name
create_list_item
Description
Related Tables
Parameters
Parameter | Label | Required | Options | Description |
---|---|---|---|---|
ListId | ListId | YES | Specify a list id to search items for | |
SiteId | SiteId (Re-Select ListId after you change this) | NO | Specify a site |
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description |
---|---|---|---|---|---|
Id |
DT_WSTR
|
nvarchar(200)
|
200 | False |
|
CreatedOn |
DT_DBTIMESTAMP
|
datetime
|
False |
||
CreatedById |
DT_GUID
|
uniqueidentifier
|
False |
||
CreatedByDisplayName |
DT_WSTR
|
nvarchar(200)
|
200 | False |
|
ModifiedOn |
DT_DBTIMESTAMP
|
datetime
|
False |
||
LastModifiedId |
DT_GUID
|
uniqueidentifier
|
False |
||
LastModifiedDisplayName |
DT_WSTR
|
nvarchar(200)
|
200 | False |
|
[Dynamic Column] |
DT_WSTR
|
nvarchar(2000)
|
2000 | False |
[Dynamic Column] |
Input Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description |
---|---|---|---|---|---|
[Dynamic Column] |
DT_WSTR
|
nvarchar(2000)
|
2000 | False |
[Dynamic Column] |
[Dynamic Column]OdataType |
DT_WSTR
|
nvarchar(100)
|
100 | False |
[Dynamic Column]@odata\u002Etype must be set as Collection(Edm.String) |
[Dynamic Column]LookupId |
DT_I4
|
int
|
True |
[Dynamic Column] Id | |
[Dynamic Column]LookupIdOdataType |
DT_WSTR
|
nvarchar(100)
|
100 | False |
[Dynamic Column]@odata\u002Etype must be set as Collection(Edm.Int32) |
Examples
SSIS
Use SharePoint Online Connector in API Source component to read data or in API Destination component to read/write data:
Insert into [Dynamic Table] table using API Destination
This Endpoint belongs to [Dynamic Table] table, therefore you cannot work with it directly. Use this table and table-operation pair instead:

ODBC application
Use these SQL queries in your ODBC application data source:
Create list item (SharePoint Document Library)
INSERT INTO create_list_item(Title, OrderId)
VALUES ('My super title', 12345)
WITH (ListId='14bdfd1d-1090-4cfe-adc1-XXXXXXXXXXXXXX'
,Output=1)
--You can get ListId by selecting from 'list_lists' endpoint.
create_list_item
endpoint belongs to
[Dynamic Table]
, ListItems
table(s), and can therefore be used via those table(s).
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Create list item (SharePoint Document Library)
DECLARE @MyQuery NVARCHAR(MAX) = 'INSERT INTO create_list_item(Title, OrderId)
VALUES (''My super title'', 12345)
WITH (ListId=''14bdfd1d-1090-4cfe-adc1-XXXXXXXXXXXXXX''
,Output=1)
--You can get ListId by selecting from ''list_lists'' endpoint.';
EXEC (@MyQuery) AT [LS_TO_SHAREPOINT_ONLINE_IN_GATEWAY];
create_list_item
endpoint belongs to
[Dynamic Table]
, ListItems
table(s), and can therefore be used via those table(s).