-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSPJeff-Turbo-SQL-to-SharePoint-List-Sync.xml
More file actions
25 lines (22 loc) · 1.35 KB
/
SPJeff-Turbo-SQL-to-SharePoint-List-Sync.xml
File metadata and controls
25 lines (22 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="utf-8"?>
<!-- SPJeff-Turbo-SQL-to-SharePoint-List-Sync.xml -->
<!-- This is the main configuration file for the SPJeff Turbo SQL to SharePoint List Sync tool. -->
<!-- This file is used to configure the SQL server connections, SharePoint list connections, and the SQL to SharePoint mappings. -->
<!-- The SQL server connections are configured in the <sources> section. -->
<!-- The SharePoint list connections are configured in the <destinations> section. -->
<!-- The SQL to SharePoint mappings are configured in the <mappings> section. -->
<!-- Learn more at https://www.spjeff.com/2023/02/11/turbo-sql-to-sharepoint-list-sync-powershell-ps1/-->
<config>
<!-- SQL server connections -->
<sources>
<source name="NorthwindCustomers" server="spjeff-sql.database.windows.net" database="northwind" username="" password=""/>
</sources>
<!-- SharePoint SPLIST connections -->
<destinations>
<destination name="SPOCustomers" url="https://spjeffdev.sharepoint.com/sites/Turbo-SQL-to-SharePoint-List-Sync" clientid="" clientsecret=""/>
</destinations>
<!-- SQL to SharePoint mappings from SQL columns to SPLIST fields-->
<mappings>
<mapping source="NorthwindCustomers" destination="SPOCustomers" query="SELECT * FROM [dbo].[Customer]" primarykey="CustomerId" list="Customer" />
</mappings>
</config>