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

How to export and import a folder configuration

Export configuration on the source system, Import configuration on the target system: download or copy, add the file, map databases and names, review, import.

You will learn

  • How to export the configuration of a folder as a file, or copy it as text.
  • How to import a configuration into a folder on another NextTables system.
  • How to map the databases and resolve names before anything is created.
  • What to check after the import.

This article is for data platform owners and administrators who move tables and views between NextTables systems, for example from a development system to a production system, or who set up a customer system from a template. Within one system, How to transport a folder to another folder in NextTables does the same in one step. What a configuration carries is explained in Introduction to transport in NextTables.

Prerequisites

  • On the source system: the Export configuration permission on the folder.
  • On the target system: a folder to import into, and the Import configuration permission on it. If the configuration holds master data objects, also Manage masterdata; if it holds row-level security objects, also Manage row level security. See How to manage roles in NextTables.
  • On the target system: a database that the target folder may use. See Scoping database connections to folders.
  • No hierarchy view in the folder or its subfolders. Hierarchy views can be exported, but the import refuses them.

Step-by-Step Instructions

1) Open the export on the source system

  • In the views sidebar, open the menu of the folder you want to move.
  • Select Transport, then Export configuration....
  • The dialog Export configuration of your folder opens. To export a single view with everything it uses, select Export configuration... in the menu of that view instead.

2) Check what the configuration holds

  • Include the folder: leave it unticked to export only the content of the folder. Tick it if the import should create the folder itself in the target folder.
  • Under In the configuration, the dialog lists the tables, views, master data objects and row-level security objects with their names. Master data and row-level security objects come with their lookup or rules view, even when that view sits in another folder.
  • Switch on Show configuration to read the content. The format is documented in NextTables transport configuration reference.

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

3) Download or copy the configuration

  • Select Download configuration to save a JSON file named after the folder, ending in -configuration.json.
  • Or select Copy configuration to put the same content on the clipboard, for example to paste it straight into the target system.
  • Rows are not included. Nothing changes on the source system.

⚠️ Caution: The file contains the configuration of every table, master data object and row-level security object the folder depends on, and the user ID and email address of the person who exported it. Pass it on like any other internal document.

4) Open the import on the target system

  • Sign in to the target system. In the views sidebar, open the menu of the folder to import into.
  • Select Transport, then Import configuration....
  • The dialog Import configuration into your folder opens on step 1 Add configuration.

5) Add the configuration

  • Drag the file onto Drag and drop a configuration file, or use or select a file. Add one JSON file only.
  • Or paste the content under Or paste the configuration.
  • A configuration from another NextTables version shows "This configuration comes from another version of NextTables. Check the result after the import." You can continue.
  • Select Next. NextTables checks the configuration now; a refused configuration shows the reason, and nothing is created.

Step 1 Add configuration of the dialog Import configuration into KB Transport Test, with the drop zone for a configuration file and the field Or paste the configuration

6) Map the databases and names

Step 2 Map objects shows each object of the configuration on the left and what it becomes in the target folder on the right.

  • Databases: for each database of the source system, pick the database where its tables are created. "Only databases you can use in" the target folder are listed. On the first import from a system, nothing is pre-selected and the dialog says "1 mapping needs your input before you can continue".
  • Folders, Tables, Views and the other cards show New folder, New table or New view. When a name is taken in the target, enter another one in the field that opens, or select the existing object to update it.
  • Master data objects and row-level security objects need a name that is unique on the whole target system.
  • Select Next.

Step 2 Map objects of an import with the database Development from the configuration still to be mapped, the new folder Cost center planning and the notice that one mapping needs input

7) Review and import

  • Step 3 Review and import lists every object as Created, Updated, Unchanged or Can't be updated, with counts at the top. Nothing has changed yet.
  • If the plan is not what you expected, select Exit.
  • Otherwise read the notice "You can't undo this import. Changes made before a failure stay in" the target folder, and select Import configuration.
  • The dialog shows "The import is running" and the progress. When it finishes, it says "Configuration imported into" the target folder. Select Done.

Step 3 Review and import with 3 created and 1 unchanged: the database BDC Demo Space unchanged and the folder Cost center planning created

8) Finish the target folder

  • Fill the master data and rules tables. They arrive empty, and the result warns about each of them.
  • Give the roles of the target system access to the new folders. Roles and permissions are not part of a configuration.
  • Keep the file. To bring later changes over, export the same folder again and import it into the same target folder: NextTables updates what the first import created. See How to update a transported folder.

Troubleshooting / FAQs

1. The import says the file is not a configuration.

The file is not the one the export wrote, or it was changed. "This file is not a configuration. Select the file you exported on the other system." Export it again and import the new file. A pasted text that is cut off is refused as "not valid JSON".

2. Import configuration is greyed out in the folder menu.

You need the Import configuration permission on that folder. The menu says so: "You can't import into this folder. Ask an administrator for the import permission."

3. The Databases card offers no database.

The target folder may use no database where new tables can be created. Ask an administrator to make one available to the folder, then import again.

4. The import is refused because of a hierarchy view.

"Transport packages with hierarchy views can't be imported yet. Remove the hierarchy view from the package and try again." Move the hierarchy view out of the folder on the source system, export again, and create the hierarchy view on the target system by hand.

5. How large can a configuration file be?

A file you add can be up to 5 MB.

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.