Reviewing and Restoring Object Versions

Each time you deploy your object, a new version is created in the repository. You can review previous versions of an object at any time and choose to restore a previous version.

Introduction to Object Versioning

Object versioning allows you to review the history of changes to your objects and, for certain types of objects, to restore a previous version. The following objects support versioning:

Object Type

View/Export Versions

Restore Versions

Graphical views

See Creating a Graphical View.

Yes

Yes

SQL views

See Creating an SQL View.

Yes

Yes

Analytic models

See Creating an Analytic Model.

Yes

Yes

Local tables

See Creating a Local Table.

Yes

Yes, with restrictions:

Local tables (File)

See Creating a Local Table (File).

Yes

Yes, with restrictions:

  • If your table contains data, restore is not possible as physical deletion of data is not supported.

  • If your table is empty, restore is supported.

Remote tables

See Importing Tables and Views from Sources.

Yes

Not supported

E/R models

See Creating an Entity-Relationship Model.

Yes

Not supported

Transformation flows

See Creating a Transformation Flow.

Yes

Yes

Replication flows

See Creating a Replication Flow.

Yes

Not supported

Task chains

See Creating a Task Chain.

Yes

Not supported

Data access controls

​See Securing Data with Data Access Controls.

Yes

Yes

Packages

See Creating Packages to Export.

Yes

Not supported

View Object Version History

To view the version history of an object:
  1. Open the object in its editor and click the Versions button in the toolbar.

    The Version History dialog opens, listing up to the last 500 versions of the object in reverse order.

  2. You can use the Search field to filter the list on any column.

    Versions can have the following types:
    • Deployment - Created by a user deploying the object.

    • Move to Recycle Bin - Created by a user deleting the space (see Delete Your Space).

    • Restore from Recycle Bin - Created by a user restoring the space.

  3. You can perform the following actions on an object version:

    • Open in New Tab - Open the version to review it in its editor.

    • Export to CSN/JSON File - Download the version to a CSN/JSON file (see Export a Version to File).

Export a Version to File

To export a version of an object:
  1. Open the object in its editor and click the Versions button in the toolbar.

    The Version History dialog opens, listing up to the last 500 versions of the object in reverse order.

  2. Find the version you want to export and click (More)Start of the navigation path Next navigation step Export to CSN/JSON FileEnd of the navigation path.

    The contents of the editor are exported to <Object_Name>.json and downloaded to your browser. For information about working with these files, see Importing and Exporting Objects in CSN/JSON Files.

Restore a Version

If your object type supports restoring a previous version (see Introduction to Object Versioning):
  1. Open the object in its editor and click the Versions button in the toolbar.

    The Version History dialog opens, listing up to the last 500 versions of the object in reverse order.

  2. Find the version you want to restore and click (More)Start of the navigation path Next navigation step Open in New TabEnd of the navigation path.

    The version opens in read-only format in a new tab, allowing you to review it in detail.
  3. When you have decided to restore the version, click Start of the navigation pathVersions Next navigation step RestoreEnd of the navigation path.

    The version becomes editable and the standard validation rules are applied.

  4. Review any validation errors and warnings and correct issues as far as possible.

  5. Click Save or Deploy to complete the restore.