/ Search

Search Epistola

Find documentation, integration guides, tour steps, blog posts and pages.

DocsIntegrationsTourBlogPage
↑↓↵esc

Share and import catalog content

Export a catalog release as a ZIP file, import it in another tenant or installation, and install new releases from a source.

Before you begin

You move catalog content as releases. A release is a published version of the whole catalog, and it does not change. So publish the catalog first. See From template to document.

  • To export, you need access to view the catalog.
  • To import, subscribe or install, you need tenant administrator access in the receiving tenant.

What happens when you receive a release

The receiving tenant keeps every release it receives, side by side. A newer release does not replace the older ones. An environment that serves an older release keeps serving it.

If nobody changed the catalog in the receiving tenant, its Next release moves along to the new release. If someone did change it there, the Next release stays as it is. It is then behind the new release. To bring the new release in, use Merge… (alpha) in the Next release.

A received catalog can be changed and published like any other catalog. The exceptions are catalogs that Epistola supplies and installations that only run releases. See How catalogs work.

Export a release

  1. Open a release: in the catalog, open Releases in the side nav and choose the release.
  2. Choose Export as ZIP.
  3. If the catalog uses other catalogs that the receiving tenant may not have, choose Export with what it uses instead. The file then also holds the releases of those catalogs. The system catalog is never included, because every installation has it.
  4. Keep the ZIP file with the release notes or the handover package.

You can also choose Export on the catalogs list. In the dialog, choose a release under Export, and tick Include the catalogs it uses if needed. A catalog without a release has nothing to export.

The ZIP file holds the release exactly as it was published, whatever has been edited since.

Import a ZIP file

  1. Open Catalogs in the receiving tenant.
  2. Choose Import ZIP….
  3. Select the ZIP file and choose Import.
  4. If the file comes from Epistola 1.x, the dialog asks you to name the catalog. Check the Registry and Namespace it proposes and choose Import under this name.
  5. If the file uses an older catalog format, the dialog offers to update it during the import. Read the notes and confirm.
  6. After the import, preview the most important templates.

Expected result: the release is listed under Releases of the catalog. If the tenant did not have the catalog, Epistola creates it.

Epistola checks the whole file before it changes anything. If a check fails, nothing is imported. The message says what is wrong. Some common cases:

  • The tenant already has a release with this number, but with other content.
  • The release needs a newer version of Epistola.
  • A 1.x export that was never released, with a version ending in -dev. Publish it in 1.x first, or set its version by hand.

Install releases from a source

A catalog can also come from a source URL, for example a catalog that another installation publishes.

  1. Open Catalogs and choose Subscribe….
  2. Enter the Catalog URL. Under Authentication, choose None (public catalog), Bearer token or API Key, and enter the credential if needed.
  3. Choose Subscribe. The catalog appears in the list.
  4. On the catalog’s row, choose Check for updates. Available releases lists the releases the source offers that you do not have yet, with what each one changes.
  5. Choose Install on the release you want.

Later, use Check for updates again to find new releases. If the source offers older lines, you can install those too, for example a fix 1.4.1 while you already have 2.0.0.

Good practice

  • Publish shared content in one catalog, in one place, and let other tenants receive its releases.
  • Use a ZIP file for a one-off transfer, or for an installation that cannot reach the source.
  • After receiving a release, preview the important templates before applications use it.

More on this topic

Epistola is open source, not free of cost. The organisations that use it fund its development, through Epistola or an Official Partner. We are steward-owned: fair prices, no profit maximisation. How Epistola is funded →