# Master Data Import / Export

The **Master Data Import / Export** utility in **App Designer** allows users to **export and import master database setup data** between environments.\
This utility is primarily used to migrate or synchronize **system‑level configuration data** such as metadata, constants, menu definitions, and internal setup tables.

It plays a critical role in ensuring **consistency across environments** such as Development, Test, and Production.

***

### Purpose of Master Data Import / Export

The Master Data Import / Export utility is designed to:

* Migrate master setup data between environments
* Synchronize internal system configurations
* Support environment initialization and setup
* Reduce manual configuration effort
* Preserve consistency of system metadata

This utility focuses on **platform configuration**, not business entity data.

***

### Accessing Master Data Import / Export Utility

To access the Master Data Import / Export utility:

1. Navigate to **DEV ZONE**
2. Open **App Designer**
3. Click the **Utilities** icon ![](https://docs.oneweb.tech/oneweb/~gitbook/image?url=https%3A%2F%2F2015371994-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FMpDjHWFRUtZ5nJcSfVXd%252Fuploads%252F7EG35RHI30q81qAdyPUa%252F0%3Falt%3Dmedia\&width=300\&dpr=3\&quality=100\&sign=3366dfa2\&sv=2)
4. Select **Master Import / Export**

***

### Master Database Setup Overview

Master database setup tables contain **core platform configuration data** required for ONEWEB to function correctly.\
These tables store metadata and internal settings used across applications.

The master setup tables available for import/export include:

* `m_metab_constant`
* `m_metab_system`
* `m_metab_button_process_action`
* `m_metab_button_master`
* `m_locales`
* `m_process_menu`

Each table represents a specific aspect of system‑level configuration.

***

### Exporting Master Data

The **Export** tab in the Master Configuration window lists all master setup tables that can be exported.

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2Fw0irALPbUtSeJEwoLkQH%2F1?alt=media" alt=""><figcaption></figcaption></figure>

#### Export Process

* Select one or more master setup tables
* Click the export action
* Each selected table is exported as a **JSON file**
* The exported files are downloaded to the local machine

Exported JSON files can later be imported into another environment.

***

### Importing Master Data

The **Import** tab allows users to import master setup data from JSON files.

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2F7Rtdf0jaEf2juRlme61c%2F2?alt=media" alt=""><figcaption></figcaption></figure>

#### Import Process

Users can import master data by:

* Clicking **Browse** and selecting the JSON files, or
* **Dragging and dropping** JSON files into the highlighted import area

Once imported, the selected master configuration data is applied to the current environment.

***

### Important Considerations

* Master Import / Export affects **system‑level configuration**
* Incorrect import may impact application behavior platform‑wide
* Always ensure environment compatibility before importing
* Avoid overwriting master data unintentionally in production environments

***

### Usage Guidelines

* Use Master Import / Export during environment setup or migration
* Export master data before making significant configuration changes
* Import master data in the correct order when required
* Restrict access to this utility to experienced administrators
* Validate system behavior after import

***

### Summary

The **Master Data Import / Export** utility provides a controlled way to migrate and manage **internal ONEWEB configuration data**.

Key points:

* Used for system‑level configuration, not business data
* Exports and imports master setup tables as JSON
* Supports environment synchronization
* Essential for platform initialization and governance

Used properly, Master Data Import / Export ensures **stability, consistency, and reliability** across ONEWEB environments.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.onewebstack.com/designer-reference/app-designer/utilities/master-data-import-export.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
