SharePoint REST

Note:  UPLOAD SIZE LIMIT
The SharePoint REST API has a hard 2 GB limit on uploads. There is currently no way to circumvent this limit.

Caution:  It is recommended that MS Graph be used to Authenticate Microsoft Office products like SharePoint. If users are encountering job fails you should check your SharePoint permissions as the authorised account may not be limiting what 3Sixty can do.


Authentication Connection

There are currently two methods of authentication for the SharePoint REST Connector.




Integration Connection

The connection can operate in both repo and output modes. In repo mode, it will retrieve list items and all of their relevant metadata from a list or library on the specified site.

In output mode, the connection will write content and assign the mapped content type (from type mappings), or simply leave the new list item as a Document

Note:  FIELD MAPPINGS
A note on SharePoint REST Mappings. The only field type that needs the target type set for a mapping are Date fields. Numbers and text are parsed automatically from Strings.

Important:  This connector doesn't support Manage Metadata Column Types

Configuration

  • Connection Name: This is a unique name given to the connector instance upon creation.

  • Description: A description of the connector to help identify it better.

  • Authentication Connection: One of the SharePoint REST Authentication Connections


Job Configuration

Mapping

If you want to map the document version comments, please add below mapping (mapping is shown from SharePoint REST to CMIS connector)

Repository

 

Important:  DATE/TIME SETTINGS
Check the settings for any existing jobs to be sure the date/time is set to US.
To confirm the location try running a test by running a SP to BFS job and check to see if the dates are accurate. Dates with day of month over 12 like July 25th would create an issue if converted from 07/25/2022 to 25/07/2022

Output

Important:  SharePoint REST connector doesn't check for common illegal characters in file names before attempting to upload a file. The list of characters to avoid is % * : < > ? / |

  • Site Name : The name of the sub site or tenant site where the data will be placed.

  • List Title : The name of the library where the data will be placed.

  • Output Folder Path : The output folder inside the Library. The folder will be created if it does not exist.


Content Service Connection

Connection Configuration

  • Site Name : The site from which this connector is collecting data.

    • Site Url: [tenant].simflofy.com/sites/test, Value: sites/Test

    • Site URL: [tenant].sharepoint.com/MySite, Value: MySite

    • NTLM: Leave blank. Include this on the URL in the authentication connection.

  • List Title :The name of the library the connection will interact with. Connections can only support one library. The default value, if left blank, will be the Documents library, which will write to the Shared Documents' folder of your site.

If you're going to be testing REST endpoints, you will need a REST client to make the DELETE and POST calls.

Refer to this tutorial to set up Postman.

cUrl calls will also work, but the Postman interface makes it all much easier.


Related Articles

SharePoint API Endpoints

Managing SharePoint Permissions with Content Services

Retrieving SharePoint ID's Using Content Service