Importing, Exporting and Cloning Entities
Last updated
Last updated
This tutorial will guide you through exporting, importing, and cloning entities in TilliT. We'll use "Edge" entities as an example, but the same process applies to other entity types. Please note that not all entities are supported at the moment.
To export an entity, first navigate to the table that lists the entities you're working with. In this example, we're using the Edge entity table. Once there, select the entity you want to export by clicking the checkbox next to its name.
After selecting, click the dropdown menu and choose the export option.
A JSON file containing the entity data will be downloaded automatically—check your browser's downloads list to verify the file is saved.
To import an entity, stay in the entity table (we’ll continue with the Edge table for this example). Click on the Import icon next to the Create button.
A modal will open, showing the first step: “Import Edge from a file.” Click on Select File and choose the JSON file you downloaded earlier.
Once selected, the content of the file will be parsed into a table, allowing you to review and validate the data before proceeding.
After reviewing, click Validate Import to check for any issues with the entities in the file. You can click on individual entities to view their details.
If everything looks good, click Apply Import. Once the import is complete, you’ll see a success message saying "Created!" You can either close the modal or click Open to view the newly created entity's basic information panel.
While validating your import, you can choose between two display options: Table View and Detailed View. Table View presents the data in a readable, simplified format, while Detailed View displays the raw JSON code, complete with indentation and line numbers for a more technical perspective.
Navigate to the entity table that you want to clone. Click on the drop down button next to Create and click on Clone.
After clicking on clone, you can choose whether to do a deep clone or a normal clone. A deep clone will clone all the settings and entities within the clone.
The name will automatically have the word "Clone" appended to it, but you are free to edit it.
Once ready, click Create Clone and you will see the entity populated in the table.
During the import process, if you receive an error message saying, "Failed to Import the file. Check the entities to create for errors," it’s likely because the Edge Data Source isn’t valid for the production environment. This error is expected.
To resolve it, simply click on the red error message and select a valid Edge Data Source for production. Once the correct source is selected, the error will disappear, and you can continue with the import process.