---
schema_version: "1"
id: b6a0f56ec0f38cde56287dd120cd3d174e349607c57db867f6a4d68093f7e10f
title: ContentHubRepository
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_contenthubrepository.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contenthubrepository.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2927c8f1f685755c1480ca386254c56e746250dd33e0658cbe727dd1f155d0bd
description: Represents a Files Connect external data source such as Microsoft SharePoint or OneDrive for Business. This object is available in API version 33.0 and later.
---
# ContentHubRepository

Represents a Files Connect external data source such as Microsoft SharePoint or OneDrive for Business. This object is available in API version 33.0 and later.

## Special Access Rules

Chatter and Files Connect must be enabled for the organization.

## Supported Calls

describeLayout(), describeSObjects(), query(), retrieve()

## Fields

| Field Name | Details |
| --- | --- |
| DeveloperName | 
Type

string

Properties

Filter, Group, Sort

Description

The unique name of the record in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. This field is automatically generated but you can supply your own value if you create the record using the API.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

When creating large sets of data, always specify a unique DeveloperName for each record. If no DeveloperName is specified, performance may slow while Salesforce generates one for each record.















 |
| MasterLabel | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Master label for the external data source. This display value is the internal label and does not get translated.



 |
| Type | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The data source type. Possible values are:

- contenthubGoogleDrive
- contenthubOffice365
- contenthubOneDrive
- contenthubSharepoint
- contenthubBox
- contenthubQuip





 |