Accessing packages
Packages are accessible to any admin account in Dawiso.
To work with them, navigate to Settings > Packages.
The Packages settings page is divided into two sections:
- Marketplace: Dawiso’s app store with ready-to-use packages.
- Resources: A list of all packages installed in your Dawiso environment. Here, you can also configure packages to your needs. Use the Updated column to sort packages by the date of their last change or to filter them by the user who made it.
Installing a new package
Installing a new package can add new functionality to your Dawiso environment or modify current settings to better suit your needs.
Install via Marketplace
- Navigate to Settings
> Packages > Marketplace.
- Find your package and click the Install button.
- The package switches to Installed mode, allowing you to view it in the Resources section. Installed packages update automatically whenever a new version is published.
For more information, see Marketplace.
For on-premises deployments, the Marketplace is not available. Instead, refer to the GIT repository containing all standard Dawiso packages.
Install manually
- Navigate to Settings
> Packages > Resources.
- In the top-right corner, click + New package.
- Give your package a key, a unique identifier for each package. Choose a key that reflects your package’s function. Keys must follow these requirements:
- It must be one string, no spaces are allowed.
- Never start your key with
core_. This prefix is reserved for default Dawiso applications; when the Marketplace is enabled, Dawiso rejects any key beginning withcore, in any letter case.
- Name your package, e.g.,
cust_business_glossary. - Save your package.
Editing a package version
Open a package version to review or change its JSON definition, name, or description.
Open a version to edit
- Navigate to Settings > Packages > Resources.
- Click the package key to open its draft, or the latest installed version when there is no draft. To open a different version, choose Version history from the row menu and click the version.
- In the top-right corner, click Edit package definition to change the package name or description.
The package key can be changed only before the package is installed for the first time. Afterwards the key field is disabled.
Drafts
The editor header shows the version number (or Draft for an unpublished version), the package key, and a Current version mark on the latest installed version.
A package has at most one draft at a time. Click + New version on the version history page to create one. You can also edit an installed or historical version directly and click Save: doing so creates the draft from your changes and opens it.
While a draft exists, installed and historical versions become read-only: typing into their JSON shows a notice with an Open draft link instead.
The JSON panel
Above the JSON code, the Version description panel is collapsible. Fill it in whenever you change a version. See Best Practices for why this matters.
The JSON panel has:
- Tabs: Code, Errors, Warnings, Applied Preview, and Applied Preview Graph.
- Actions: Download, Copy to clipboard, and Fullscreen.
The Code tab validates the JSON against a schema and highlights problems. Hover over the underlined text to see details. Saving stores the draft and validates it.
The footer has two buttons, both disabled until you make a change:
| Button | Effect |
|---|---|
| Save | Stores the draft and validates it. |
| Save & Install | Stores and installs it. |
After a plain save, Install replaces Save & Install. You can also save with Ctrl+S.
If you leave the page with unsaved changes, a Save changes? prompt appears with Save, Discard changes, and Cancel options.
Discard a draft
Discard a draft version when you no longer need it. Only administrators can discard, and only a draft can be discarded.
- Navigate to Settings > Packages > Resources.
- Choose Version history from the package’s row menu.
- On the Draft row, click the three dots icon and select Discard.
- In the Discard package version dialog, click Discard. The dialog asks: “Are you sure you want to discard version ‘‹version›’? This cannot be undone.”
Discard is disabled in these cases, and its tooltip explains why:
| Situation | Tooltip |
|---|---|
| The version is installed. | ”Installed package versions cannot be discarded.” |
| The version is versioned. | ”Versioned package versions cannot be discarded.” |
| A task for the draft is still running, such as its validation or installation. | ”A task is still running for this version. Wait for it to finish, or cancel it in Settings › Task log.” |
If a task for the draft starts before you confirm, Dawiso refuses the discard: “The draft can’t be discarded while a task for it is running. Wait for the task to finish, or cancel it in Settings › Task log.”
Exporting notification templates
When an export includes notification templates, each template carries all of its translations, ordered by language, and every notification rule carries a key. A rule whose owning type or workflow is not part of the export is written under the root settings.notifications property. See notificationTemplates and notifications.
Downloading all packages
Download every package at once for a snapshot of your environment’s whole configuration, for example to archive it or move it to another environment. To download a single package version instead, use the Download action in that package’s version list.
- Navigate to Settings > Packages > Resources.
- In the top-right corner, click Download all.
- The button shows a spinner while Dawiso prepares the archive in the background. You can leave the page; the export keeps running.
- When it finishes, a notification appears in the bottom-right corner with two links: Download file saves the archive, and View task opens the export task’s detail. The notification stays until you close it, and it is also added to your notification bell, so you can pick the file up later.
The archive is named all-packages-<environment>-<timestamp>.zip, where <environment> is your instance name and <timestamp> is the UTC time the export started.
The archive holds one JSON file per package, named <package-key>_<version>.json. Each file contains the latest versioned or installed version of that package.
Packages that only have a draft version are not included, because a draft is not yet a complete package. Data packages and automation packages are also excluded; download those from their own sections.