Publish and version workbooks in the classic Workbook Editor
This page covers publishing and versioning workbooks built in the classic Workbook Editor. Data Apps are released and rolled back differently; see Go live: move a Data App to production, test it and roll back.
A workbook holds several versions:
- Your draft, where your edits save automatically.
- The published version, which everyone in the workbook’s collections sees.
- Saved versions: snapshots of a draft that you keep as restore points or publish later.
You work in the classic Workbook Editor, where the Versions button in the top bar opens the version history. In the Library, the Versions tab of a workbook’s properties lists the same versions and offers rollback, removing your draft and export.
Publish a workbook
Section titled “Publish a workbook”Publish is at the top right of the classic Workbook Editor.
- Select Publish.
- In Publish Workbook, under Collection, add one or more collections. Each one you add is listed under Selected. To make a collection here, select New Collection.
- Under Name, choose the version to publish; your own draft is selected by default. If the version has no name, a warning offers Add a name.
- Select Publish. It stays unavailable until you have added at least one collection.
Astrato then checks whether everyone in those collections can open the workbook’s semantic layer and data connection. If some permissions are missing, select Add all missing permissions or Skip. The confirmation that follows gives the workbook’s link, View to open it in a new tab and View in Collection (View in Collections when there are several) to open the collection. If you published your draft, the confirmation also names the new version it was saved as.
When the workbook is already published or already in a collection, Publish Workbook asks only for the version under Name, and publishes it in the collections the workbook is already in. To change those collections, see Put a workbook or Data App in a collection.
Save and manage versions in the editor
Section titled “Save and manage versions in the editor”Your draft saves as you work, but a draft is not a restore point. Select Versions in the top bar, then Save as version on your draft to keep a snapshot of it. If you have not saved a version for 15 minutes, the Versions button is highlighted as a reminder.
Version history lists your draft first. Select a version to look at its contents. Each version’s menu (⋮) offers the actions that apply to it:
| Action | What it does | Offered on |
|---|---|---|
| Save as version | Saves your draft as a new version. | Your draft |
| Restore this version | Copies the version into your draft. | Any saved version |
| Publish this version | Publishes the version in place of the current published version. | Saved versions that are not published, if you can edit the workbook’s collections |
| Name this version or Rename | Names the version so it is easier to find. | Any version |
| Create a new workbook | Copies the version into a new, separate workbook. | Any version |
| Copy version to workbook, Move version to workbook | Adds the version to another workbook, for example to bring a copy back into the workbook it came from. See Promote a version. | Your own saved versions |
| Remove | Deletes the version. | Your own saved versions, except the published one |
| Unpublish | Takes the published version down. | The published version, if you own it or the workbook, can edit it and can manage its publication |
Unpublish asks Unpublish this version? and also removes the workbook from all its collections and deletes its embed links. Removing the workbook from every collection in the Library also unpublishes it, and its embed links stop working. To publish it again, follow Publish a workbook.
See versions in the Library
Section titled “See versions in the Library”In the Library, open the workbook’s menu (⋮), select Properties and open the Versions tab. On a published workbook, the version tag on its card or row opens the same tab.
Version history lists your draft first, then the published version, then the rest, newest first. Each version shows its name (or the date it was saved), its status, when it was published or last updated, and who saved it. With six or more versions, a search box matches names, statuses, dates and authors.

| Status | Meaning |
|---|---|
| Your draft | Your own work in progress. |
| Published version | The version everyone sees. |
| Previously published | A version that was live before. |
| Historical draft | A version that was saved but never published. |
| Private draft | Another person’s draft. |
| Shared draft | A draft that has been shared. |
Each version opens in a new tab. Your draft offers Edit and Preview, or only Preview without permission to edit the workbook; every other version offers View. A removed workbook lists its versions but opens none of them; someone who can remove it can bring it back with Restore in its menu.
Roll back to a previously published version
Section titled “Roll back to a previously published version”Rollback publishes a version that was live before, so it becomes the version everyone sees. You need permission to edit the workbook.
-
On the Versions tab, select Rollback on a version marked Previously published.
-
In Roll back to this version?, select Rollback.

To copy an older version into your draft instead, use Restore this version in the editor.
Remove your draft
Section titled “Remove your draft”On a published workbook you can edit, your draft offers Remove. In Remove your current draft?, select Remove to throw away your unpublished changes; the published version is not touched.
On a workbook that is not published, your draft may be its only version, so it cannot be removed on its own and the draft says so. To remove the whole workbook, use Remove on the Properties tab. To keep the workbook and remove only your draft, publish a version first.
Promote a version between environments
Section titled “Promote a version between environments”Astrato has no separate environment feature. To keep development, test and production apart, keep one workbook per stage, for example DEV, UAT and PROD, and copy or move a version from one to the next when it is ready.
A setup that works well:
- Give each environment its own semantic layer named after it, for example
Sales_DEV,Sales_UATandSales_PROD. All the workbooks of one environment can share it. - Keep each environment’s workbooks in their own collection, so viewers of the PROD collection see only production workbooks.
Before you start: you can copy or move only versions you own that are saved versions, not drafts. Save your draft with Save as version first. Moving the published version also needs permission to manage the workbook’s publication. A version can’t be copied or moved to a workbook that already has a version with the same name; rename it first with Rename.
- Open the source workbook, select Versions and open the menu (⋮) of the version.
- Select Copy version to workbook to keep the version here as well, or Move version to workbook to take it out of this workbook.
- Under Destination workbook, select the workbook, then select Next >. If there is no Next >, your account does not offer the semantic layer options: select Copy or Move, and the version keeps its current semantic layer.
- Under Semantic layer, choose an option from the table below.
- Select Copy or Move.
| Option | What happens | Use it when |
|---|---|---|
| Use current Semantic Layer | The version keeps the semantic layer it uses now. | Environments share one semantic layer, or the destination is not published yet |
| Use destination workbook Semantic Layer | The version uses the semantic layer of the destination’s published version, which is not changed. | Only the workbook content changed |
| Override the destination workbook Semantic Layer with the current one and publish the transferred version in this container | The destination’s semantic layer takes the views, joins and fields of the version’s semantic layer, keeping its own name and data connection. The version is then published, and the previously published version is unpublished. | The semantic layer changed and PROD must keep its own data connection |
The last two options need a published destination workbook. The override also needs edit access to the destination workbook and permission to update its semantic layer. Without edit access to the workbook, Copy or Move stays unavailable; without permission to update the semantic layer, the dialog shows You do not have permission to perform this Semantic Layer override operation.
Text description
- The DEV workbook holds the version to promote, and queries the DEV semantic layer.
- You copy or move that version to the PROD workbook, where it is added as a new version. The PROD workbook must already have a published version.
- The new version connects to the PROD semantic layer, which is unchanged and keeps its PROD data connection.
- The DEV semantic layer does not move; it stays in DEV.
Unless you chose the override, the version arrives in the destination’s version history unpublished; publish it from there with Publish this version.
Under the recommended setup, the first promotion into an empty PROD workbook can only use Use current Semantic Layer, so the transferred version queries the DEV semantic layer. After that promotion:
- In the PROD workbook’s version history, open the transferred version’s ⋮ menu and select Restore this version. This copies it into the PROD draft.
- Switch the draft to the PROD semantic layer.
- Publish the draft.
Later promotions can use the other options.
Export a version and keep it in Git
Section titled “Export a version and keep it in Git”An .astx archive holds one version of a workbook: its sheets, objects and data connection. Use
it to move a workbook between tenants or keep a copy outside Astrato. In the Library, open the
workbook’s Properties, open the Advanced tab, select Export to .astx, and in Export a
version to .astx choose Published version (selected for you when there is one) or Your
draft. The Git example below assumes the published version;
Export a workbook covers the permission, the steps and the
200 MB limit, and Import a workbook brings an archive
back.
To keep a history of exports, commit each .astx file to a Git repository. An .astx file is a
zip archive of JSON files without extensions, such as metadata, sheets and actions, so
committing its unpacked contents next to it lets Git show what changed between exports:
# Run from the root of your repository after downloading a new export.# Replace the file and folder names with your own.set -emkdir -p workbooks# Replaces the .astx file and deletes the unpacked folder: uncommitted edits in it are lost.cp ~/Downloads/"Revenue report.astx" workbooks/revenue-report.astxrm -rf workbooks/revenue-reportunzip -q workbooks/revenue-report.astx -d workbooks/revenue-reportgit add workbooks/revenue-report.astx workbooks/revenue-reportgit commit -m "Revenue report: published version, exported 2026-11-10"The downloaded file is named after the workbook, not the version, so name the version in the commit message. The archive holds the workbook’s content and its semantic layer definitions (the data connection’s name, but not its settings or credentials), so store it in a repository that only people who may see the workbook can read.
To bring a stored version back, restore its archive from an earlier commit and import that file:
git log --oneline -- workbooks/revenue-report.astxgit restore --source <commit> workbooks/revenue-report.astxReplace <commit> with a commit from the list. Restoring overwrites the .astx file in your
working tree, so commit any new export first. Then import the file in the Library: select
Create and, under Import, select Workbook, then choose the .astx file and a data
connection. After the import, run git restore workbooks/revenue-report.astx to put the latest
export back. Importing the same archive twice creates two copies, and importing always creates a new
workbook; it does not replace the one you exported from. To put a previously published version of
the same workbook live again, use Rollback instead.
Import the .astx file as it was exported: rebuilding an archive from edited JSON files is not
supported. Export and import are done in the Library; there is no documented API for automating
them.