Redwood Documentation

Product Documentation

 

›Connectors

Separate ComponentsGeneric Components

Catalog

  • Catalog

Connectors

  • Connections
  • Azure Subscriptions
  • Azure DataFactory
  • JSCAPE Component
  • IBM z/OS
  • Box Connector
  • Sharepoint
  • Informatica
  • Cognos
  • ServiceNow

Inbound REST

  • REST Services
  • API Key

Excel

  • Generic Excel Components

Platform Agent

  • Core Platform Functions

Oracle Data Services

  • Oracle Data Integrator

SAP Data Services

  • BTP Cloud Integration
  • SAP CI DS
  • SAP IBP
  • BusinessObjects
  • SAP SNC

SLA

  • SLA Component Installation
  • SLA Rules
  • SLA Dashboard
  • Advanced Configuration

On-Premises SSO

  • SSO Module

Privileges Required

  • Azure Subscriptions
  • Box Connections
  • Catalog
  • Connections
  • Azure Data Factory
  • Sharepoint
  • Informatica
  • REST Services
  • JSCAPE Connector
  • API Keys
  • Excel
  • ODI Connections
  • Queues
  • CloudIntegration Connections
  • HCI DS Connections
  • IBP Connections
  • SLA
  • ServiceNow
  • z/OS Connections
← Box ConnectorInformatica →

Sharepoint Integration

Prerequisites

  • Version 9.2.9 or later.
  • Connections component (automatically installed by Catalog).
  • Privileges Required to use Azure Subscriptions.
  • Privileges Required to use Sharepoint.

Installation

You use the catalog to locate the Sharepoint component in the Catalog, select version 1.0.0.0 and install it.

  1. Choose in the tool bar.
  2. Fill any part of the name of the component you wish to install, for example Share for SharePoint Connector, into the filter cell of the Name column.
  3. Locate the component, choose Install Specific Version from the context-menu.
  4. Select the version you wish to install, in this example, 1.0.0.0:
  5. Choose Install <version>, in this example install version 1.0.0.0.
    1. If the Connections component is not already installed, it will be installed alongside SharePoint Connector.

Setup

  1. Navigate to Custom > Connections and choose .
  2. Choose Sharepoint Connection under Select a Connection Type.
  3. Choose Next or Basic Properties, you create a queue and process server for your Sharepoint connection, all required settings will be set automatically.
  4. Choose Next or Security, this is a screen for all components, choose to specify which roles can access the connection information. It is recommended to grant the role at least the following additional privileges: View on the Sharepoint process server, View Processes on the Sharepoint queue, View on library Redwood_Sharepoint, and Submit on any process definitions users with this role are to submit.
  5. Choose Next or Sharepoint Connection Properties, fill in the Site URL field, and perform either of the following:
    1. (Recommended) Select SharePoint App Only in Connection Type and fill Client ID, Tenant ID, and Client Secret fields; choose Save & Close.
    2. Select SAML in Connection Type and fill Username and Password fields; choose Save & Close.
    3. Select Azure AD Connection and select an existing Azure AD connection in the Azure AD Application field; choose Save & Close.

Contents of the Component

Object TypeName
ApplicationGLOBAL.Redwood.REDWOOD.SharePointUtilities
Constraint DefinitionREDWOOD.Redwood_SharePointConnectionConstraint
Constraint DefinitionREDWOOD.Redwood_SharePointDriveConstraint
Extension PointREDWOOD.Redwood_SharePointUI
Job DefinitionREDWOOD.Redwood_Sharepoint_Delete_Item
Job DefinitionREDWOOD.Redwood_Sharepoint_Download_File
Job DefinitionREDWOOD.Redwood_Sharepoint_Move_Item
Job DefinitionREDWOOD.Redwood_Sharepoint_Upload_File
LibraryREDWOOD.Redwood_SharePoint

Rweood_Sharepoint_Upload_File

Upload a file to a SharePoint server.

Parameters

NameDescriptionDocumentationValues
SHAREPOINT_CONNECTIONSharePoint Site ConnectionConnection created with the Connections.

FROM_FILEFile to UploadFile type parameter with file Browser.

DRIVEDocument LibrarySharepoint library to upload the file into.

TO_DIRECTORY_PATHTarget FolderTarget path in Sharepoint.

TO_FILENAMEUploaded File NameTarget file name in Sharepoint.

OVERWRITEOverwrite Existing FileIf a file exists, do you want to overwrite the file? Note that with Sharepoint history, you can restore files.true - overwrite file
false - raise an error if the file already exists
CREATE_MISSING_DIRECTORIESCreate Missing DirectoriesIf the path does not exist in Sharepoint, would you like to create the missing folders in the path?true - creates the missing folders
false - raise an error if a folder is missing
OUT_URLURL of the uploaded fileThe URL to the uploaded file (Out parameter).

Redwood_Sharepoint_Download_File

Download a file from the SharePoint.

Parameters

NameDescriptionDocumentationValues
SHAREPOINT_CONNECTIONSharePoint Site ConnectionConnection created with the Connections.

DRIVEDocument LibrarySharepoint library to download the file from.

FROM_PATHFolder PathSource folder to download the file from.

FROM_FILENAMEFile NameFile name on the Sharepoint server.

TO_FILENAMEDownloaded File NameFile name of the downloaded file.

DOWNLOADED_FILEDownloaded FileThe downloaded file (Out parameter).

Redwood_Sharepoint_Delete_File

Delete file on SharePoint server.

Parameters

NameDescriptionDocumentationValues
SHAREPOINT_CONNECTIONSharePoint Site ConnectionConnection created with the Connections.

DRIVEDocument LibrarySharepoint library to download the file from.

DIR_PATH_TO_DELETEFolder PathFolder to download the file from.

FILE_NAME_TO_DELETEFile NameFile name on the Sharepoint server.

RECURSIVERecursiveDelete files recursively

Redwood_Sharepoint_Move_File

Move File on the SharePoint server.

Parameters

NameDescriptionDocumentationValues
SHAREPOINT_CONNECTIONSharePoint Site ConnectionConnection created with the Connections.

DRIVESource Document LibrarySharepoint library to download the file from.

SOURCE_FOLDERSource FolderSource path in Sharepoint.

FILE_NAMEFile NameSource file name in Sharepoint.

TARGET_DRIVETarget Document LibraryTarget Sharepoint library to copy the file to.

TARGET_FOLDERTarget FolderTarget path in Sharepoint to copy the file to.

OVERWRITEOverwriteIf the path does not exist in Sharepoint, would you like to create the missing folders in the path?true - creates the missing folders
false - raise an error if a folder is missing
CREATE_MISSING_DIRECTORIESCreate Missing DirectoriesIf the path does not exist in Sharepoint, would you like to create the missing folders in the path?true - creates the missing folders
false - raise an error if a folder is missing
OUT_URLURL of the destination file/directoryThe URL to the moved file (Out parameter).

Sharepoint Configuration

To register the app, you to first generate a private key and a certificate.

Create a Certificate Using OpenSSL

$ openssl genrsa -out key.pem 2048
$ openssl req -new -sha256 -key key.pem -out requ.csr
$ openssl req -x509 -sha256 -days 365 -key key.pem -in requ.csr -out cert.pem
$ openssl pkcs12 -export -inkey key.pem -in cert.pem -out cert.pfx

Sequence of openssl commands to generate a password-protected PFX certificate with private key.

With the PFX, you can actually register the app in Azure.

Registering the App

  1. Navigate to https://aad.portal.azure.com.
  2. Choose Azure Active Directory on the left-hand side.
  3. Choose App registrations on the left-hand side.
  4. Fill in a name into the Name field and choose Register.
  5. Choose Certificates & secrets, choose Upload certificate and browse to your PFX certificate.
  6. Store the Application (client) ID (Client ID) and Directory (tenant) ID (Tenant ID) for future use and choose Add Permissions, choose Sharepoint.
  7. Under What type of permissions does your application require, choose Application permissions.
  8. Assign the required permissions to the app and choose Add permissions; these can be changed later as needed. Please refer to the Microsoft documentation, for more information.

Import Certification in Redwood Central Server

Import the PFX into Redwood Central Server

  1. Navigate to Security > Credentials.
  2. Choose New credential from the context-menu, select the partition of Sharepoint component.
  3. Select X509_ClientCertificate credential protocol and upload the PFX file.
  4. Specify the password of the PFX file.
  5. In the Common Name field, specify the name of the Sharepoint site, for example, contoso.sharepoint.com.

See Also

  • Connections
← Box ConnectorInformatica →
  • Prerequisites
  • Installation
  • Setup
  • Contents of the Component
  • Rweood_Sharepoint_Upload_File
    • Parameters
  • Redwood_Sharepoint_Download_File
    • Parameters
  • Redwood_Sharepoint_Delete_File
    • Parameters
  • Redwood_Sharepoint_Move_File
    • Parameters
  • Sharepoint Configuration
    • Create a Certificate Using OpenSSL
    • Registering the App
  • Import Certification in Redwood Central Server
    • Import the PFX into Redwood Central Server
  • See Also
Docs
Getting StartedInstallationFinance InstallationConcepts
TroubleshootingArchiving
Learn and Connect
Support Portal
BlogEventsResources
ISO/ IEC 27001 Information Security Management
Automate to be human

2023 All Rights Reserved |

Terms of Service | Policies | Cookies | Glossary | Third-party Software | Contact | Copyright | Impressum |