Skip to content
  • There are no suggestions because the search field is empty.

Introduction to transport in NextTables

The three transport actions, what a configuration carries and what stays behind, a development, test and production setup, permissions, and current limits.

You will learn

  • What the three transport actions do and when to use each one.
  • What a configuration carries to the target folder and what stays behind.
  • How transport fits a setup with development, test and production folders.
  • What happens on a first transport and on every later one.
  • Which permissions you need, and what transport doesn't do yet.

This article is for data platform owners and administrators who build tables and views in one folder and promote them to another. It explains the concepts; How to transport a folder to another folder in NextTables walks through a transport step by step.

Prerequisites

  • A folder that holds the tables and views you want to promote, for example a Development folder.
  • The Export configuration permission on that folder and the Import configuration permission on the target folder. See How to manage roles in NextTables.
  • A database that the target folder may use, so the tables can be created there. See Scoping database connections to folders.

How a transport works

A transport copies the configuration of a folder into another folder: its subfolders, tables and views, and the master data and row-level security objects they use. It creates what is missing in the target and updates what an earlier transport created there. Rows are never copied.

There are two ways. Within one system, Transport to folder... copies the folder in one step. Between systems, Export configuration... writes a configuration file that Import configuration... reads on the other system. Either way, the first run creates the objects in the target folder, every later run updates them, and the rows stay where they are.

Diagram: a development folder with views, tables, master data and row-level security, whose rows stay behind; the configuration goes either by Transport to folder within one system or as a configuration file to another system; NextTables writes it into a production folder, where the first transport creates the objects with empty tables, every later transport updates them, and you add master data values, rules and access

You find the three actions in the menu of a folder in the views sidebar, under Transport:

ActionWhat it doesUse it when
Transport to folder...Copies the folder into another folder on the same system, in one goDevelopment, test and production are folders on one NextTables system
Export configuration...Downloads the configuration as a JSON file, or copies it to the clipboardThe target is another NextTables system
Import configuration...Reads such a file, or its pasted content, into the folderYou received a configuration from another system

The menu of the folder KB Transport Dev with the Transport submenu open, showing Transport to folder, Export configuration and Import configuration

The menu of a single view offers Export configuration... as well, for one view with everything it uses. The site level has no transport actions.

Contents of a configuration

Carried to the targetStays behind
Folders and subfoldersRows of every table, including master data and rules tables
Grid views with their fields: order, required fields, default values, display types, forms, master data bindings, row-level security and enforced filtersHierarchy views (see "What transport doesn't do yet")
Tables with their columns, key and data history setting, both tables stored in NextTables and connected tablesRoles, permissions, users and user groups
Master data objects with their lookup view and tableDatabase connections and their credentials
Row-level security objects with their rules view and table

A master data object or row-level security object always travels with its lookup or rules view, even when that view sits in another folder. The databases are not carried either: during the transport, you map each database of the configuration to a database the target folder may use.

📝 Note: The master data and rules tables arrive empty. Until you fill them in the target, nobody can fill in fields bound to a master data object with strict search, and views that use a row-level security object show no rows. The result of the transport warns you about both.

The export dialog lists what the configuration holds before you download it. The file format, property by property, is documented in NextTables transport configuration reference.

The dialog Export configuration of KB Transport Dev with the option Include the folder unticked and the summary 2 tables, 2 views and 1 masterdata object

A development, test and production setup

The setup recommended in Introduction to authorization uses top-level folders for the environments, for example Development, Test and Production, each with the database connection of its own environment. Transport moves your work along that line:

  1. Build and test the tables, views, master data and row-level security in Development.
  2. Transport the folder to Test. In the Databases card, map the development database to the test database.
  3. After acceptance, transport the same folder to Production and map the database again.
  4. Fill the master data and rules tables in the target, and give the right roles access to the target folders.

NextTables remembers every mapping per target. The next transport into the same folder updates the objects it created there instead of creating new ones.

Names must be unique where NextTables looks them up: master data objects and row-level security objects across the whole system, views within their top-level folder, and tables by technical name within their database. On one system, the copy of a master data object needs its own name, for example Sales regions PROD. If two environments share one database, their tables need their own technical names too. The transport asks for a new name whenever one is taken.

First transport and later transports

On the first transport, every object is Created in the target, and you choose new names where a name is taken.

On every later transport into the same folder, the review shows per object whether it is Updated, Unchanged or Can't be updated:

  • Renamed, added, reordered or changed fields, changed forms and filters, and new columns are updated.
  • Changes that would break existing data are not applied, and the object stays as it is: a column with a new data type, a table or view of another type, or a new key column on a table that holds rows.
  • Changes that remove protection or loosen the key are marked Destructive change, for example "Enforced filter removed" or row-level security removed from a field.
  • Objects that are no longer in the configuration are listed under Delete from the target folder. "Only the items you tick are deleted." Objects you created by hand in the target are never listed.
  • Changes you made by hand to a transported object in the target, for example a new name, are overwritten by the next transport.

The steps of a later transport are in How to update a transported folder.

Who can do what

TaskPermission
Export a folder or a viewExport configuration on it
Transport a folder to another folderExport configuration on the source folder and Import configuration on the target folder
Import a configurationImport configuration on the target folder and on every folder the import writes into
Transport or import master data objectsAlso Manage masterdata
Transport or import row-level security objectsAlso Manage row level security
Move a transported object to another folder on a later transportAlso Edit folder on the old and the new folder

⚠️ Caution: Export configuration is far-reaching. The configuration also contains every table, master data object and row-level security object the folder depends on, including those the exporting user can't see. It contains no rows. Grant the permission to administrators only.

What transport doesn't do yet

  • Hierarchy views can't be transported. A configuration that contains one is refused with "Transport packages with hierarchy views can't be imported yet. Remove the hierarchy view from the package and try again."
  • A transport can't be undone. It stops at the first failure, and the changes made before the failure stay in the target.
  • Rows are not transported. Load them in the target, or let your data platform fill the tables.
  • A connected table can be connected only once per database. Map its database to another database in the target, or connect the table there by hand.

Troubleshooting / FAQs

1. Does a transport copy my data?

No. A transport carries the configuration only. Every table, including the tables behind master data and row-level security objects, arrives empty in the target.

2. How do I transport a folder that contains a hierarchy view?

Move the hierarchy view to a folder you don't transport, transport the folder, and create the hierarchy view in the target by hand. Hierarchy views can't be transported yet.

3. Are roles and permissions transported?

No. Give the roles access to the target folders yourself, as described in How to manage roles in NextTables. A folder or view in the target that has permissions set can't be deleted by a later transport.

4. Can I undo a transport?

No. Read the review before you start the transport, and try a first transport into an empty test folder if you are unsure what it will create.

5. The Transport entry is greyed out in the folder menu.

The menu shows the reason, for example "You can't export this folder. Ask an administrator for the export permission." or "You have no folder to transport to. Ask an administrator for the import permission on the target folder." An empty folder can't be exported or transported either.

6. Can I transport to another NextTables system?

Not in one step. Transport to folder... works within one system. For another system, use Export configuration... on the source and Import configuration... on the target folder of the other system, as described in How to export and import a folder configuration. A configuration from another NextTables version can be imported; the import shows a warning, and you check the result afterwards.

Still need help?

Customers open a support ticket and follow every reply in the Support Portal. Subscribe to product updates and the release notes reach you by email.

Evaluating NextTables? Talk to the team that builds it.