Skip to content

Export a table, and bring it back, step by step

Take any table out to Excel for people to read, or to CSV with every column and id, and bring an edited file back as an update of the very same records.

5 steps·3 min read·Deployment and Data

Take any table out to Excel or CSV, and bring an edited file back as an update of the very same records.

What it is

  • Builder → ETL Center → Export: pick the table, shape the grid with a view, a search or a filter, and export what it shows.
  • Export to Excel: an .xlsx of the view's columns, in its filter and sort, dates in your time zone, named after the view.
  • Export All: a .csv of every column, raw values and each record's id, headed by the fields' schema names, named after the table.
  • The round trip: edit the CSV, then Import → Import a file on the same table. The id column maps to Record ID (GUID), so each row updates its record; a row without an id makes a new one.

Good to know

  • Each export needs its privilege (Export to Excel, Export All); a role without it does not see the button.
  • Keep only the columns you changed in the file you bring back: a blank cell leaves a field as it is, and (clear) empties it.
  • Headers that are the fields' own names map for free; Check first tries every row and writes nothing.

Before you start

  • Export takes any table out of Codossier Office: the rows of a view to Excel for people to read, or every column to CSV, with each record's id, to work on and bring back. A file with the ids comes back through Data Import as an update of the same records.
  • Here, the four people of Tidewater Records Retrieval, an invented records-retrieval company: two get a new title and department in the spreadsheet, and the file comes back.

1Open Export and pick the table

Go to Builder → ETL Center → Export and pick the table: here Contacts. The four cards say how it works. Pick the rows: the export takes what the grid shows. Export to Excel and Export All are the two files. Round trip: edit the CSV and bring it back on the Import tab, where a row with an id updates its record.

Export a table, and bring it back, step 1: Open Export and pick the table (The Export tab; Pick the table; The grid decides; And back again)
1The Export tab2Pick the table3The grid decides4And back again

2Narrow the rows, then choose the file

Shape the grid first: choose a view (Active Contacts), search, or add a Filter. Export to Excel downloads an .xlsx of the view's columns, in its filter and sort, with dates in your time zone, named after the view. Export All downloads a .csv of every column of the table, raw values with each record's id, headed by the fields' schema names and named after the table: the file for a reload or another system. Each needs its export privilege; a role without it does not see the button.

Export a table, and bring it back, step 2: Narrow the rows, then choose the file (A view narrows it; Or a filter; The view, as .xlsx; Every column, as .csv)
1A view narrows it2Or a filter3The view, as .xlsx4Every column, as .csv

3Edit the CSV, then bring it back

Open the CSV in Excel and change what you need: here Odessa Pruitt becomes Senior Records Coordinator and Rowan Ashby gets the department Accounts Receivable. Keep the id column. Delete the columns you did not touch, so only your changes come back.

Then go to Import → Import a file, choose the file and the same table. The headers are the fields' own names, so each maps by Same name for free (proposal cost $0.0000), and the id column maps to Record ID (GUID): it decides that each row updates its record instead of making a new one.

Export a table, and bring it back, step 3: Edit the CSV, then bring it back (The edited file; Free: names match; The id decides update)
1The edited file2Free: names match3The id decides update

4Check first: every row updates, none is new

Under 3 · Import, Codossier Office counts it: 4 rows with a GUID update the matching Contact, none create a new one. A blank cell leaves a field as it is; write (clear) to empty it. Press Check first: every row is tried and nothing is written. Here 4 to update, 0 to create, 0 with a problem. Then press Import 4 rows.

Export a table, and bring it back, step 4: Check first: every row updates, none is new (Rows with an id update; Try it, write nothing; 4 to update; Then import)
1Rows with an id update2Try it, write nothing34 to update4Then import

5The round trip, done

Under Imports, the run reads Import into Contacts: 4 written, 0 problem row(s), of 4. Each row was saved on its own, through the table's rules and audit, as if edited on its form, and only the columns in the file changed. The run is listed again on the Jobs tab.

Export a table, and bring it back, step 5: The round trip, done (Your import; Four rows; All updated)
1Your import2Four rows3All updated

What next