Skip to content

Connect a SharePoint System


Introduction

For using a SharePoint system as data source follow the instructions below. Additionally you can enable the TreeResolver connector, which is used for traversing a directory structure and creating a document list from the found items.

Configure the SharePoint Connector

In SEAL Operator, activate the connector and specify the keys for the connection:

  1. Open a Command Prompt or PowerShell.

  2. Export the complete configuration of SEAL Operator from Consul to a YAML file with the following command. So you're making sure the current configuration settings are being used.

    operator config export <filename>.yml --insecure
    
  3. Edit the exported file <filename>.yml.

  4. Go to the section for the SharePoint (sharepoint) connector. Set cstatus to on.

    operator:
      connectors:
      ...
        sharepoint:
          cstatus: 'on'
          serviceName: operator-sharepoint
          url: 'https://localhost:3017'
      ...
    
  5. In the env section, specify the following keys for the operator-sharepoint service:

    • ACTION_EXECUTOR: mandatory, the backend system, here: SHAREPOINT

    • HTPASSWD: mandatory, credentials of the SharePoint technical user in htpasswd format

    • SITE_COLLECTION: mandatory, base URL of the SharePoint site collection

    env:
      service:
      ...
        operator-sharepoint:
          tag:
            any:
              ACTION_EXECUTOR: SHAREPOINT
              HTPASSWD: <sharepointuser:password>
              SITE_COLLECTION: 'https://<path-to-your-sharepoint-site>'
      ...
    

    Literature - keys

    For further information about available keys, refer to the Key Reference.

  6. Save the <filename>.yml file.

  7. Re-import it to Consul.

    operator config import <filename>.yml --insecure
    

Next Step

Continue with: Connect a TreeResolver


Back to top