Publishing a Table to Development
Publish a lookup or data table to Development to make your column changes available to workflows. You edit the columns in a draft first; Development keeps running its current version until you publish.
Before you begin
- You need permission to update the table.
- Read Versioning lookup and data tables for how the draft, Development, and Production relate.
Edit the draft
- In the left toolbar, select Tables, then select the Lookup or Data tab.
- Select the table.
- In the Environment list above the grid, select the view to start from:
- Draft — definition only to continue unpublished changes.
- Development or Production to start from the columns that environment runs.
- Select Edit columns.
- Change the columns. For each column, set Name, Type, and optionally Key, List, Secure, and Description.
- Select Save. If a column name looks sensitive, Review column protection opens. Check the Secure setting of each listed column, then select Confirm and save.
The editor switches to the Draft — definition only view.
To replace the draft's columns with a definition exported from another table, select Import columns above the grid instead. Upload a definition JSON file, select the confirmation, then select Import columns. Rows and environments do not change.
Publish the draft
- In the Draft — definition only view, select Publish.
The Deploy draft to Development dialog opens. Its header shows the version change, for example
version 6 → new version. - Review the dialog:
- Changes lists the added, removed, and changed columns.
- Workflows lists the workflows that use the table. Changed or removed columns may break their mappings; review and redeploy them after publishing.
- The rows notice says whether Development's rows are kept. If the rows can't be kept, select Download rows to save them, then type the table name to confirm.
- Select Deploy.
You can also publish from the History panel. In the application toolbar, select History, then select Deploy on the Draft card. Select Inspect Changes on the card first to compare the draft with Development.
How you know it worked
Studio shows "Draft deployed to Development as version N." The Development card in the History panel shows the new version. If the draft matched what Development already runs, Studio shows "Development already runs version N." instead.
If a promotion request was open, Studio also shows "The open promotion request was closed because its source definition changed."
Discard the draft
To throw away unpublished changes, select Discard changes in the Draft — definition only view, or Discard on the Draft card of the History panel, then select Discard. Rows in every environment stay unchanged.
If the table has never been deployed, discarding its definition deletes the table. Studio asks you to type the table name to confirm, and this cannot be undone.
When it does not work
| Symptom | Cause | What to do |
|---|---|---|
| A button says "You need permission to update this table." | Your role cannot update the table. | Ask a workspace admin for permission to update lookup tables. |
| Deploy on the Draft card says "Development already runs this draft." | The draft has no changes from Development. | Nothing to publish. Edit the draft first. |
| The dialog shows "Couldn't check where this table is used" | The reference check failed. | Select Retry. Publishing is still allowed. |
| The dialog shows "Couldn't check whether the rows in Development can be kept." | The row check failed. | Select Retry. If it fails again, you can continue as if the rows can't be kept: download them and type the table name. |
| Confirm and save is unavailable in Review column protection | A listed column is not Secure, and the acknowledgement is not selected. | Mark the column Secure, or select the acknowledgement. |
| Review column protection says "Secure storage is unavailable for this definition" | The workspace cannot store Secure columns for this table. | Select Cancel, then turn off Secure in Edit columns. |
| Import columns says "The file belongs to a different table type. Lookup and data-table definitions cannot be mixed." | The file was exported from the other table kind. | Use a definition exported from a table of the same kind. |
| A workflow fails validation with "… is still a draft. Publish it to Development to use it in this workflow." | The table has never been published. | Publish the table, then validate the workflow again. |