Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions content/en/docs/workstation/wks-import.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
title: "Managing and Sharing Workspace and Station Data"
linktitle: "Managing and Sharing Data"
url: /mendix-workstation/import-export/
description: "Describes how to import and export workspace and station data across workspaces and environments."
weight: 30
---

## Introduction

You can manage and share station and workspace data across various workspaces and environments by exporting and importing the configuration of a single station, or of multiple stations at the same time. If performed by the workspace admin, the import includes applications and devices associated with the station. In this way, you can replicate or migrate of station setups, supporting efficient and consistent data handling.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggesting to add more information about which workspace roles can do what. Maybe a table?

  • "View only", "Computer admin": can only export single and bulk
  • "Station admin": can import and export single and bulk, but not create workspace apps on import, only link stations to existing workspace apps
  • "Workspace owner", "Workspace admin": can do all, incl. creating apps on import


## Importing and Exporting Stations in Bulk

{{% alert color="info" %}}
This option is only available to licensed users. For more information, see [Mendix Workstation Client](/mendix-workstation/).
{{% /alert %}}

To transfer multiple station configurations, along with their associated applications and devices, between workspaces, perform the following steps:

1. Open the [Workspaces](https://workstation.home.mendix.com/) page.
2. Click the workspace whose stations you want to export.
3. On the **Stations** page, click the three-dot menu in the top right corner of the screen, and then click **Export Stations**.

{{< figure src="/attachments/workstation/wks-import1.png" class="no-border" >}}

The **Dowload Stations** dialog opens. You can either download all the stations created for the workspace, or select individual stations from the list.

4. Click **Download**.

The export is saved to your computer in JSON format.

5. Go to the workspace where you want to import the stations.

This can be the workspace from which you exported the stations, or a different one.

6. On the **Stations** page, click the three-dot menu in the top right corner of the screen, and then click **Import Stations**.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image Pls. also explain these options: - Include Apps: if selected, the apps that are linked to the exported stations are created in the workspace if they do not yet exist with the same URL and public key (prerequisite: imported by Workspace Owner or Admin). - Include Devices: if selected, the stations are imported with the exported device configurations


After the import finishes, your target workspace has the same apps and devices as the source workspace.

## Importing and Exporting a Single Station

To transfer the contents of a single station, perform the following steps:

1. On the **Stations** page, click the three-dot menu by the station which you want to copy, and then click **Copy Station to Clipboard**.

{{< figure src="/attachments/workstation/wks-import2.png" class="no-border" >}}

Alternatively, you can click **Download Station File** to download the configuration to your computer in JSON format for later use.

2. Click **Create Station**, and then select **Create station from clipboard**.
3. Paste the configuration into the **Paste Station Configuration** field.

{{< figure src="/attachments/workstation/wks-import3.png" class="no-border" >}}

4. Click **Continue**.
5. On the **Summary** screen, review the information and optionally select a group to categorize it, such as *Assembly*.
6. Click **Create Station**.
Binary file added static/attachments/workstation/wks-import1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/attachments/workstation/wks-import2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/attachments/workstation/wks-import3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.