Attaching static data to a table
Last updated
Last updated
For each table, you can upload a .csv file that contains data for the table. The uploaded data can either replace the current data or be added to the current data.
The uploaded data remains permanently in place. It is not affected when you regenerate the table data.
For example, having static data can be useful when you want to run tests and want to be able to use specific values.
To attach static data to a table:
In the table heading, click Attach Data.
On the Attach Data panel, to search for and select the file, click Choose File. Make sure that the file uses the same column names and contains data in the appropriate formats.
From the dropdown list:
To add the data to the existing data, select append to the generated data.
To replace the current data, select replace the existing data.
Click Attach Data.
When you append the data, Fabricate indicates that the appended data is included when you export the data.
When you replace the data, Fabricate indicates that the table data came from a file, and marks all of the columns as having come from the file. It also updates any foreign keys to the table to use the replacement records.