Managing and Switching Workspaces¶
A workspace is an isolated ntkDeploy working area for one organization or operational context. Each workspace keeps its own profiles, providers, device groups, rollout history, audit history, and workspace-scoped policy settings, while the ntkDeploy shell keeps shared preferences such as theme mode and deployment defaults.
This tutorial walks through the workspace selector, shows what changes when you switch, and explains how to use Manage Workspaces to create, edit, import, export, and delete workspaces.
Prerequisites¶
- ntkDeploy installed and launched. See Installation and First Launch.
- If you plan to import or export a workspace, filesystem access to the folder where you will open or save a
.zipbundle. - If you plan to import a workspace, a valid workspace bundle created by ntkDeploy. See Importing and Exporting Profiles and Workspaces.
1. Find the workspace selector¶
The workspace selector is in the left sidebar, directly below the ntkDeploy branding.
It shows:
- The active workspace's organization name above the dropdown.
- The active workspace's display name inside the dropdown.
- A Manage workspaces... option at the bottom of the list.
Use this selector for day-to-day workspace switching. Use Manage workspaces... when you need to create, edit, import, export, or delete workspace records.
2. Switch to another workspace¶
- Open the workspace dropdown in the left sidebar.
- Select the workspace you want to activate.
- Wait for the switch to finish. ntkDeploy reloads the active workspace session automatically.
When the switch succeeds, the app keeps the same shell chrome but refreshes the workspace-scoped data behind it.
What changes when you switch¶
| Area | Behavior |
|---|---|
| Profiles, providers, device groups, assignments, rollout history, and audit log | Reload to show the records stored in the newly selected workspace only |
| Policy Server and conductor settings | Switch to the configuration saved for the newly selected workspace |
| Workspace artifact path | Resolves to the active workspace under the shell's artifact base directory |
| Theme mode and deployment defaults | Stay the same because they are shell-scoped settings rather than workspace-scoped settings |
For the storage model behind this behavior, see Architecture Overview. For the shell-scoped versus workspace-scoped settings split, see Settings Reference.
What can block a switch¶
ntkDeploy refuses to switch workspaces while certain in-progress flows are still open.
| Blocking state | What to do |
|---|---|
| Active profile edit session | Finish the edit or cancel it before switching |
| Device-group draft input | Clear or complete the draft group or path input |
| Open device-group dialog or route | Close the dialog or return to the main screen |
| Open Manage Workspaces dialog | Close the dialog, then switch from the sidebar |
When a switch is blocked, ntkDeploy shows a snackbar explaining the first blocking condition it found.
3. Open Manage Workspaces¶
- Open the workspace dropdown.
- Select Manage workspaces....
The Manage Workspaces dialog lists every known workspace and exposes the available actions for each row.
| Action | Where it appears | Notes |
|---|---|---|
| Edit Workspace | Every workspace row | Opens the workspace editor dialog for metadata changes |
| Export Workspace | Active workspace row only | Saves the current workspace as a .zip bundle |
| Delete Workspace | Inactive workspace rows | Requires confirmation and may still be refused for protected workspaces |
| Import | Dialog action bar | Imports a workspace bundle into shell storage |
| Create New | Dialog action bar | Opens the same editor dialog used for edit |
Note: While Manage Workspaces is open, the switch guard prevents switching workspaces from the sidebar.
4. Create a workspace¶
- In Manage Workspaces, click Create New.
- Enter a Display Name and Organization Name.
- Optionally enter Notes and an Environment Tag.
- Click Save.
The new workspace appears in the list immediately.
Note: Creating a workspace does not automatically switch the app into it. After creation, select it from the workspace dropdown when you are ready to move into that workspace.
5. Edit workspace metadata¶
- In Manage Workspaces, click Edit Workspace on the row you want to change.
- Update the workspace metadata.
- Click Save.
Create and edit both use the same dialog. Editing changes the workspace label and metadata; it does not merge workspaces or move records between them.
6. Import a workspace bundle¶
- In Manage Workspaces, click Import.
- Select a workspace bundle
.zipfile. - Wait for ntkDeploy to validate and import the bundle.
- Confirm that the imported workspace appears in the list. If ntkDeploy reports that the import succeeded but the list could not refresh, close and reopen Manage Workspaces and then verify the new row.
Imported bundles restore the workspace record, workspace database content, workspace-scoped settings, and workspace artifacts when they are present in the bundle.
Important: Import does not automatically switch the current session. After the import succeeds, use the workspace selector to move into the imported workspace when you are ready.
For bundle contents and portability details, see Importing and Exporting Profiles and Workspaces.
7. Export the active workspace¶
- Switch to the workspace you want to export.
- Open Manage Workspaces.
- Click Export Workspace on the active workspace row.
- Choose a destination
.zippath and save it.
ntkDeploy exports the active workspace only. The export button does not appear on inactive rows.
8. Delete an inactive workspace¶
- Switch away from the workspace you want to remove.
- Open Manage Workspaces.
- Click Delete Workspace on the inactive row.
- Review the confirmation dialog.
- Click Delete to confirm.
On a successful delete, ntkDeploy removes the workspace from shell storage and then attempts to remove that workspace's database file and artifact subtree.
Warning: The active workspace cannot be deleted. Protected workspaces such as the default workspace may also refuse deletion even when they are inactive.
Next Steps¶
- Importing and Exporting Profiles and Workspaces for profile JSON bundles and workspace bundle details.
- Settings Reference for shell-scoped and workspace-scoped settings ownership.
- Architecture Overview for the shell/workspace storage model.
- Creating a Profile to start building profiles inside the active workspace.