Replace all rows in a table from a CSV
Check the scope of a full replacement, verify the incoming file, and review the new rows in the existing table.
Use Replace all data for a complete replacement in a table stored in the workspace, such as refreshing a lookup table from a new official list. The import deletes the existing records and creates records from the CSV in the same table. The replacement applies to the whole table even if a view shows only some rows. You need permission to import and to create and delete records in the destination table.
Check the destination and the replacement file
- Open the destination table and check which records it contains. Check any views or workflows that link to those records. Links to the old records can stop opening after replacement.
- If you need a copy of the existing values, export the table to CSV before proceeding. Remove view filters and search text, then choose Export all filtered rows when available. Check that the export contains the rows you intend to preserve. It includes only rows your account can access.
- Prepare the full replacement CSV, including rows that should still be present. Check its headers, record count, and a known row. For changes to only some existing records, use the CSV update workflow.
Replace the records and verify the result
- Start the CSV import for the existing table. In Preview, verify the sample. In Mapping, choose the destination fields and select Replace all data (delete existing, then insert).
- In Confirm, verify the table name and the replacement notice. Select Start Import once the destination and file are correct.
- Check the import result, then open the table with filters cleared. Compare the row count and a known row with the replacement file. If the result is unclear, check the table and the import message before retrying.
Ask Mainbase AI
Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.
Open the AI assistantCopy a question to get started
- How do I create a Kanban view?
- How do I invite a teammate?
- Why is a record missing from this view?