|
| 1 | +--- |
| 2 | +title: "Managing and Sharing Workspace and Station Data" |
| 3 | +linktitle: "Managing and Sharing Data" |
| 4 | +url: /mendix-workstation/import-export/ |
| 5 | +description: "Describes how to import and export workspace and station data across workspaces and environments." |
| 6 | +weight: 30 |
| 7 | +--- |
| 8 | + |
| 9 | +## Introduction |
| 10 | + |
| 11 | +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. In this way, you can easily manage different stages and versions of your station configurations by keeping them in separate workspaces. |
| 12 | + |
| 13 | +### Workspace Roles and Permissions |
| 14 | + |
| 15 | +Different user roles are granted various levels of access to import and export tasks. For more information, see [Workspace Team and Collaboration](/mendix-workstation/installation/#collaboration). |
| 16 | + |
| 17 | +## Importing and Exporting Stations in Bulk |
| 18 | + |
| 19 | +{{% alert color="info" %}} |
| 20 | +This option is only available to licensed users. For more information, see [Mendix Workstation Client](/mendix-workstation/). |
| 21 | +{{% /alert %}} |
| 22 | + |
| 23 | +To transfer multiple station configurations, along with their associated applications and devices, between workspaces, perform the following steps: |
| 24 | + |
| 25 | +1. Open the [Workspaces](https://workstation.home.mendix.com/) page. |
| 26 | +2. Click the workspace whose stations you want to export. |
| 27 | +3. On the **Stations** page, click the three-dot menu in the top right corner of the screen, and then click **Export Stations**. |
| 28 | + |
| 29 | + {{< figure src="/attachments/workstation/wks-import1.png" class="no-border" >}} |
| 30 | + |
| 31 | + The **Dowload Stations** dialog opens. You can either download all the stations created for the workspace, or select individual stations from the list. |
| 32 | + |
| 33 | +4. Click **Download**. |
| 34 | + |
| 35 | + The export is saved to your computer in JSON format. |
| 36 | + |
| 37 | +5. Go to the workspace where you want to import the stations. |
| 38 | + |
| 39 | + This can be the workspace from which you exported the stations, or a different one. |
| 40 | + |
| 41 | +6. On the **Stations** page, click the three-dot menu in the top right corner of the screen, and then click **Import Stations**. |
| 42 | +7. Optionally, specify if the import should include the apps and devices: |
| 43 | + |
| 44 | + * **Include Apps** - If you select this option, the import creates any apps that are linked to the exported stations but do not yet exist in the workspace with the same URL and public key. |
| 45 | + * **Include Devices** - If you select this option, the import includes any exported device configurations. |
| 46 | + |
| 47 | +After the import finishes, your target workspace has the same applications and station configurations as the source workspace, but the stations are not yet registered to computers. |
| 48 | + |
| 49 | +## Importing and Exporting a Single Station |
| 50 | + |
| 51 | +To transfer the contents of a single station, perform the following steps: |
| 52 | + |
| 53 | +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**. |
| 54 | + |
| 55 | + {{< figure src="/attachments/workstation/wks-import2.png" class="no-border" >}} |
| 56 | + |
| 57 | + Alternatively, you can click **Download Station File** to download the configuration to your computer in JSON format for later use or for sharing it with others. |
| 58 | + |
| 59 | +2. Click **Create Station**, and then select **Create station from clipboard**. |
| 60 | + |
| 61 | + Alternatively, if you downloaded a file in step 1, click **Create station from file**. |
| 62 | + |
| 63 | +3. Paste the configuration into the **Paste Station Configuration** field. |
| 64 | + |
| 65 | + {{< figure src="/attachments/workstation/wks-import3.png" class="no-border" >}} |
| 66 | + |
| 67 | +4. Click **Continue**. |
| 68 | +5. On the **Summary** screen, review the information and optionally select a group to categorize it, such as *Assembly*. |
| 69 | +6. Click **Create Station**. |
0 commit comments