Documentation Center

Connector for SharePoint 365 usage in Content Delivery

With the Tridion Connector for SharePoint 365, Content Delivery's open GraphQL interface is capable of retrieving SharePoint 365 assets, as well as listing and searching SharePoint 365 data.

Deployment to the Content Service

You can deploy the connector into the Content Service using the standard extension mechanism provided by the Add-ons Service. The deployment process registers into the GraphQL engine any additional GraphQL capabilities and data types that will be needed to support for SharePoint 365 assets.

GraphQL requests

This connector supports the following GraphQL requests:
  • externalItem - use to get a single SharePoint 365 asset
  • externalItems - use to search for or list a set of SharePoint 365 assets

Entity types

This connector exposes the following SharePoint 365 entity types:
  • SharepointDrive - a SharePoint 365 Document Library
  • SharepointFolder - a folder within a SharePoint 365 Document Library
  • SharepointFile - an asset (such as an image or document) in a SharePoint 365 Document Library

Example request

The following sample code illustrates getting a SharePoint 365 asset:

{
   externalItem(eclUri: "ecl:2-sharepoint-015ASHMIK6EAOACANOCJHJAPTDLQ3F4ITR!5F;b!21;rf643eLuXEG6ab2z1xeBBhWUlfJaektAiDCM9sm6sKo385w6CwEcS49SgMtLNNoH-SharepointFile-file") {
    ... on SharepointFile {
      title     
      filename
      binaryReference
      thumbnail
      webUrl
      size
      contentType
    }
  }
}

For more examples, refer to the GraphQL reference section.