Skip to content

The repository tree

Everything in ContentSurface sits in one tree, the repository. Each entry in it is a node: a folder, a document, a record such as a Salesforce account or a database row, or a mailbox message. Every node has its own ContentSurface ID, which never changes while the node exists.

Kind What it is Who shapes it
Virtual folder A folder that exists only in ContentSurface, such as Finance or Projects. The tree’s top, the root folder, is one. Repository admins: create, rename, delete.
Mount folder The place where one part of a source — a mount point, such as a share, a site or a mailbox — appears in the tree, with its filters. Repository admins: create, filter, activate, pause, delete.
Source item Everything below a mount folder: the source’s folders, files, records and messages. The source. This part is read-only in ContentSurface.

Above the mount folders, the structure is yours: you decide which folders exist and where each source appears. Below a mount folder, the structure is the source’s: its folders as they are in the source, or — for record sources such as Salesforce and databases — records arranged by how they relate, for example an account with its contacts and opportunities below it. See Document types and hierarchy.

  • Standard fields every node has: name, path, type, size, MIME type, created and modified dates and users.
  • Attributes: fields specific to the source and document type, such as a SharePoint column, an email’s sender or a Salesforce account’s industry. Repository admins decide which source fields become attributes; see Attributes.
  • Content for documents and messages: the bytes you can open. They are not stored in ContentSurface; they are fetched from the source when opened.
  • Relations to other nodes, such as an opportunity’s account, defined by repository admins; see Relations.

A node’s path is its place in the tree, such as /Finance/Invoices 2026/March.pdf. Paths change when folders are renamed; IDs do not. Applications should keep IDs. A node’s ID starts with nod_.

When an item is moved or renamed in the source, the next scan shows it in its new place. For some sources it keeps its ID; for others it gets a new one and the old node is deleted.

When an item disappears from the source, or a repository admin deletes a folder, the node is deleted: it disappears from browsing and search at once, but is kept for a retention period, during which a repository admin can restore it. See Deleted items.