Skip to content

Packages

Who can do this: every admin role, each for what it administers — settings for tenant admins, labels and groups for tenant and user admins, everything else for repository admins.

Tenant → Packages copies a set-up from one workspace to another. An integrator sets one client up well and starts the next client from it; a company reuses one folder structure for several departments. You export a configuration package — a file — from one workspace, and import it into another, or into the same one below another folder. Nothing changes until you have seen the plan and applied it.

The Packages page: what to export

Holds Never holds
Virtual folders and mount folders, with their filters and access overrides Documents, records or anything below a mount folder
Mount points and connections, with their settings and locations Credentials, consents, keys, secrets, agents
Document types with their mappings, relations and hierarchies; attributes Users, group members, client applications
Access labels; groups with the labels they hold
Settings: indexing, processing, the AI application hosts

A package names your sources’ locations — server and share names, sites, databases. Treat the file as confidential configuration: store and send it as you would the connection settings themselves.

Each admin exports and imports only what their roles administer elsewhere in the Portal. No role includes another: a tenant admin who also wants to move folders and connections grants themselves the repository admin role, which the audit log shows.

What Exported and imported by
Settings Tenant admins
Access labels, groups (without members) Tenant admins, user admins
Attributes, connections, document types, relations, hierarchies, mount points, virtual and mount folders with their access Repository admins

People never travel, whatever your roles: no users and no group members.

  1. Open Export. It lists only what your roles administer. Tick what to export: what it depends on is ticked with it, marked dependency — a mount folder brings its mount point, connection, parent folder and the labels of its access.
  2. Untick a dependency that already exists where the package will be imported — the connection to the same file server, a shared document type. It is then marked by reference: the package names it without carrying it, and the import uses the one it finds there by name, never creating or changing it. A reference that needs another to be identified — a mount point its connection — brings that one as a reference too.
  3. Dependencies outside your roles always travel by reference; the page lists them under By reference, outside your roles. For a repository admin, these are the access labels that folders grant.
  4. Next to a ticked item, Add everything below adds a folder’s contents, and Add … related adds what an item offers: a connection’s document types, a label’s groups.
  5. Name the package and select Export. The browser saves the file.

Exporting changes nothing in the workspace.

  1. Open Import, choose the package file and the target folder. The package’s folders are placed below it. Without the repository admin role there is no target folder to choose: the package’s folders are left out.
  2. Choose the installation (repository admins). Installing a package creates an installation; installing the same package again below another folder creates a second one with its own folders, so updating one never touches the other. By default, an import updates the installation of the same package at the target folder, or creates a new one.
  3. Select Show the plan. For each item it says what would happen: create, update, unchanged, reference (an existing item the package refers to, used as it is) or blocked.
  4. Decide what the plan asks:
    • Connections: reuse an existing connection — the same file server for several departments — or create a new one. A connection the package carries by reference can only be reused: choose which.
    • Locations and settings: the package’s server, site or share names are filled in; change them for this workspace.
    • Collision: something of the same name is already here but was not placed by this installation. Update it, create a copy with a number after its name, or skip it.
    • Changed locally: someone changed it here since the last import. Keep the local change (the default) or overwrite it.
  5. Give a reason and select Apply the plan — Apply the rest when something is left out. Every change is in the audit log as Imported from package ….

Some items are blocked without stopping the import. The plan lists them under left out of this import; applying imports everything else:

  • Outside your roles. The row says which role may import it, such as needs repository admin. Hand the same file to an admin who holds that role. If a label outside your roles already exists here, what depends on it uses it as it is.
  • A reference with nothing to match. The package refers to an item it does not carry, and there is none of that name here. It is never created: create it first, or import a package that carries it.
  • What depends on either: a folder whose access names a missing label, a mount point whose connection is left out, and so on.

If the workspace changed between showing and applying the plan, the Portal shows the new plan to apply instead.

Nothing is scanned by an import:

  • New connections arrive without credential or agent. Grant the consent, upload the key or link an agent, as for any new connection.
  • Mount folders arrive in Draft. Check them and activate them.

The connection’s Next steps list what is left.

  • It never deletes. Something missing from the package stays as it is. A mapping, a label a group holds, or an access override is never removed.
  • It never changes the access it brings. A folder’s access keeps the labels it was exported with, whatever the target folder grants. People who cannot read the target folder reach the imported folders under Shared with you.
  • It never moves a mount point or changes an existing hierarchy. The plan notes the difference; change them on the connection.
  • It never changes a reused connection or a reference. Their settings, credential and agents stay as they are.

Shared items — labels, groups, attributes, document types, relations, settings — are one per workspace: an update reaches every installation that uses them. The plan says how many mount folders outside the installation an updated document type also serves.

  • The plan does not include a connector type of the package (a Salesforce connection cannot land on Basic), or the mount folders would exceed the plan’s limit. Mount folders in Draft count.
  • An attribute exists here with another data type.
  • A setting is outside what this workspace’s plan allows.
  • The package comes from a newer version of ContentSurface: export it again from a workspace on this version.

In the API

The Portal does this through these calls; an integration can make them directly.

OperationCall
The assets your roles may export and their dependency graph, for choosing what to export.GET /v1/admin/packages/assets
Builds a package from the selected assets and their dependencies, those left out or outside your roles as references.POST /v1/admin/packages/export
The packages installed in this tenant, for choosing one to update.GET /v1/admin/packages/installations
What importing a package would do, asset by asset, with the limit checks and an impact token. Changes nothing.POST /v1/admin/packages/import-plans
Applies an import plan in one transaction, confirmed by its impact token; 409 when the tenant changed since the plan.POST /v1/admin/packages/imports