Package the data experience
Last updated
Last updated
This section covers everything you need to export a release package from a data experience.
Before you start, make sure you have access to the following tables:
You must define your data experience in the Data Experience Definitions Table. Each row in the table is a definition for each Data Experience you want to package and export.
A definition contains the entities that make up the experience. Some examples of entities are tables, domains, reference data, and user defined functions (UDFs) .
For a complete list of all fields, see the reference page.
Cinchy recommends packaging entities based on their dependencies on one another. For example entities such as Applets, System Colours, Literal Groups, and Models can be packaged separately. This makes versioning these entities easier when exporting to other environments.
If you make changes to the DX in the future, update the relevant Data Experience definition. You don't need to create a new definition. If you need to review what the definition looked like historically, you can view it via the Collaboration log.
For each table data reference, you must define an entry in the Data Experience Reference Data system table. This entry will be deployed alongside your Data Experience Definition (DX).
Treat this reference data similarly to a Data Sync Configuration for batch synchronization. It should move data from a CSV file to a Cinchy Table with matching attributes. The sync key column should contain unique values and shouldn't be a system or calculated column.
After you define the data experience and the reference data you want with it, you can now use PowerShell to export your experience.
To export your data experience:
Launch PowerShell and navigate to your CinchyDXD folder (such asC:\DxDvX.X.X)
Run .\CinchyDXD.ps1 export
with the required and optional parameters.
Use the arguments below to create your data export with CinchyDXD.
The following example shows the use of arguments for a data package export in Cinchy.
To validate your export, navigate to the target output path and make sure it's populated with the necessary files.
The export will fail if a record with the same Name, GUID, and Version already exists in the Data Experience Releases system table in the lower environment.
Solutions:
Update package version: Required if the Data Experience definition has been modified since the last installed version in the higher environment.
Delete the release: Required if the version isn't yet installed in the higher environment.
This error indicates that Data Experience Definitions are pointing to a deleted entity (such as a saved query in the Recycle Bin).
Solution:
Manually update the definition to remove the reference to the deleted data.
For a complete list of all columns, please see the .
For a list of the available parameters, see the Export section of the reference page for more information.