Skip to main content
This gem runs in Prophecy Automate.

Overview

Use a Source or Target gem to read from or write to a SharePoint list in Prophecy pipelines. Each list item becomes a row, and each list column becomes a column. The gem uses the same SharePoint connection as the SharePoint file gem. The connection’s service principal must have access to the site that contains the list. To learn more, see Grant service principal access to SharePoint sites.

Create a SharePoint list gem

To create a SharePoint list Source or Target gem in your pipeline:
1

Add a Source or Target gem to the pipeline

  1. Open your pipeline in the Studio.
  2. Click Source/Target in the canvas.
  3. Select Source or Target from the dropdown.
  4. Click the gem to open the configuration.
2

Select SharePoint list format

In the Type tab, under Table, select Sharepoint List. Then, click Next.
3

Set location details

In the Location tab, select a connection and enter the list name. To learn more, see Location.
4

Set table properties

In the Properties tab, set the table properties. To learn more, see Source properties and Target properties.
5

Preview data (Source only)

In the Preview tab, load a sample of the data and verify that it looks correct.

Location

The Source and Target gems use the same location parameters.

Source properties

The following properties are available for the SharePoint list Source gem.

Target properties

The following properties are available for the SharePoint list Target gem.

Write modes

In every write mode, if the input has a column that the list doesn’t have, the gem adds that column to the list.
You can’t write to read-only SharePoint columns, such as Created or Modified. If the input schema includes a read-only column, the gem fails before writing any data. Remove those columns from the input first.
Overwrite mode deletes and recreates the list, so anything attached to the original list, such as views, permissions, and column settings made in SharePoint, is not kept.