Object export and sync

You can export Data Studio objects (such as Workflows, Views or Functions) from one Space to another, either in the same or different Environment.

The following objects can be exported from one Space and imported (or synchronized) into another:

  • Dashboards.
  • Workflows.
  • Views.
  • Datasets. As well as data held in Datasets.
  • Charts.
  • Functions and user-defined Function categories.
  • Schedules.
  • Step Settings (e.g. Find duplicates rules and blocking keys).
  • External systems and system credentials. For security reasons, passwords and permissions used by credentials are not exported.
  • Custom events.
  • Notifications.
  • Training datasets for data tags and any associated tags. There's a limit of 250 tag training datasets for any particular export, so consider removing unused ones before exporting.

Export from a Space

To export data from a Space:

  1. Go to System > Spaces.
  2. Click the Options menu for the Space you want to export from.
  3. Select Export.
  4. Pick the objects you'd like to export.
  5. Select Download in browser to download a Data Studio metadata exchange (.dmx) file to your downloads folder. If you also choose to export the data held in one or more selected Datasets, the downloaded file will have a .dmxd extension.

By default only published objects are displayed in the export list. However, drafts can also be chosen by selecting Use draft versions. Draft versions can be imported into another Space but can't be synchronized.

Where an object has both a published and a draft version, the Use draft versions checkbox also determines which version is selected for export. If Allow draft versions is switched off, the published version will always be selected.

Export objects with dependencies

Metadata objects in Data Studio often have dependencies. For example, a Workflow uses a View as a source but that View is based on a Dataset loaded from an External system using a specific credential.

Any dependencies between objects selected for export will be highlighted on the metadata export screen. However, you don't have to export these dependent objects and they aren't automatically selected because they may already exist in the target Space or you might want map them to new objects.

Import or synchronize into a Space

There are two ways to bring your exported data and metadata into another Space:

  • Import: importing into a Space will create new copies of objects in the target Space. No link is maintained between the objects in the source Space and the target, so importing is typically a one-off process. Objects are imported to the target Space as drafts (whatever their status in the source Space) and version history is not retained.

    Common use cases are to:

  • Set up a new Space that's a copy of an existing one when you don't need to keep the two Spaces in sync.

  • Bring useful Functions or Views from a standard package into a new Environment to avoid the need to re-implement them.

  • Synchronize: synchronizing into a Space maintains a link between objects in the source and target Spaces. This means that future synchronization between the two Spaces can keep these objects in sync as they're modified over time. The source and target Spaces have to be in different Environments and only published versions of objects can be used.

    Common use cases are to:

  • Promote changes to objects between development, test, and production Environments.

  • Keep two Environments in sync when changes are being made to objects shared by both, and to retain the version history.

To import or synchronize a metadata package into a Space:

  1. Go to System > Spaces.
  2. Click the Options menu for the Space you want to populate.
  3. Select Import or Synchronize as appropriate.
  4. Select the .dmx or .dmxd file and click Next.
  5. Select the objects you'd like to bring into the Space.
  6. Click Import or Synchronize.