Import

← Back to User Manual

8. Import & Export

X-Sheets supports importing data from CSV files to quickly populate new sheets, exchanging a single sheet’s rows and media as a ZIP archive, and printing a sheet and its related records as a PDF report.

8.1 CSV Import

The CSV import wizard creates a new sheet from a CSV file. Access it from the Data Editor by tapping the + button on the sheet tab bar and choosing Create Sheet from CSV.

The wizard walks you through five steps:

Step 1: Sheet Name & File

  • Enter a sheet name (required). Must be unique — cannot match an existing sheet name.
  • Upload a CSV file using the file picker.

Step 2: CSV Structure

  • Preview the first row of your data in a table.
  • Check “First row contains column headers” if your CSV has a header row. If checked, the first row becomes column labels instead of data.

Step 3: Column Names

  • Column names are auto-generated (col_0, col_1, etc.) but fully editable.
  • If you enabled headers in Step 2, the first row values are used as names.
  • Use the + button to add extra columns or – to remove.
  • At least one column must have a label.

Step 4: Normalization (Identifier)

  • Select which column serves as the identifier from a dropdown.
  • Check “This sheet doesn’t contain an identifier” to auto-generate an ID column.
  • Duplicate or empty identifiers are skipped during import.

Step 5: Confirmation

  • Review your settings and tap Import to finalize.
  • All imported columns default to Text (String) type. You can change column types after import via column settings.

Tip: After importing, open the column settings for each column to set the correct type (Number, Date, etc.) and formatting.

8.2 Sheet Data Export (ZIP)

You can export the rows and media of an existing sheet as a ZIP archive. Open the Data Editor, right-click the sheet tab, and choose Export data.

The archive contains:

  • data.csv — the sheet’s rows.
  • a files/ folder — the media (pictures and documents) referenced by those rows.

Where the archive goes depends on your platform:

  • Desktop — a save dialog lets you choose the location.
  • Mobile — the system share sheet opens so you can send or save it.
  • Web — the browser downloads (or shares) the file.

The export is named <sheet>-data.zip.

8.3 Sheet Data Import (ZIP)

You can load a ZIP archive — the same data.csv + files/ format produced by Export — back into an existing sheet. Right-click the sheet tab in the Data Editor and choose Import data.

  1. Tap Choose ZIP file and pick the archive.
  2. Select an Import mode:
    • Add (append rows) — adds the imported rows to the existing data.
    • Replace (overwrite all data) — clears the sheet first, then loads the imported rows. A warning is shown before you confirm.
  3. Tap Import data.

The data.csv is positional and headerless: each row must have exactly one value per column of the target sheet, in column order. Each row keeps its own identifier — an empty identifier is assigned a new one, while a duplicate identifier stops the import with an error. Media referenced under files/ is uploaded and re-linked automatically.

Note: Both import modes are transactional and can be undone afterwards. If anything fails — an invalid ZIP, a missing data.csv, missing media files, a duplicate identifier, or a wrong column count — the import is aborted and the sheet is left unchanged.

8.4 PDF Report

You can print a sheet as a PDF: a table of its records and, nested beneath each one, the related records from the other sheets that reference it — a customer followed by its sites, each site followed by its installed products, and so on through the references. Pictures are printed in their cells, and a picture that serves as a map is printed as a plan with its markers.

Two entry points, both in the Data Editor:

  • Right-click (or long-press) the sheet tab and choose Generate PDF — a report of the whole sheet.
  • Right-click a row and choose Generate PDF — a report of that record alone: the page opens with its condition preset to the row, which you can still edit.

The data is synchronized before the report is built, so the PDF shows the records as stored.

Choosing the related records

The page shows the sheet as the top level of a tree, with one sub-level per sheet that references it through a reference column, and so on recursively. The top level is always part of the report: its box is ticked and locked. Only the top level is selected at first: tick the sub-levels you want in the report. A sheet that already appears higher on the same path is not expanded again, and a record already printed higher up is marked (already listed above) rather than repeated.

Settings per level

Each level of the tree — the sheet itself included — has its own controls. One settings box is open at a time; the buttons at the end of a level’s line open them.

  • Sort — a column to order the level’s records by (Original order keeps the sheet’s order) and an ascending/descending toggle.
  • Grouping — a reference or date column to group the records by. The group becomes a level above the records: a table with a row per value, the records of each value nested beneath it, and the records without a value under (empty). A date that carries a time is grouped by day. The groups have their own ascending/descending toggle, next to the column.
  • Condition — a filter on the level’s records, written with the same editor as a view condition (see Views & Filters). The report cannot be generated while a condition has an error.
  • Columns to show — tick the columns printed for the level and drag them to reorder. Virtual columns are offered too; those the sheet hides in its form start unticked. Each picture column has a Picture size (Small, Medium, Large); the pictures fill their column.
  • Inline (inside the parent record) — instead of a table of its own, the level’s records are folded into a field of the parent record, one per line: either in an Own column or into a parent column you choose. The sub-levels of an inline level are not included.
  • Location maps — offered when the level’s records, or their related records, are positioned on a picture through a reference (see Forms), or when a sub-level is a sheet of maps. When checked, a table of the maps those records sit on is printed after each table of the level, each map once, with the plan and the columns of the map sheet you pick under Columns of the map tables. On a grouped level the same box has a second checkbox, to print the maps once after all the groups instead.

Pages are A4 portrait. Columns share the width in proportion to the column widths set in the sheet, and a page is widened when its widest table would not give every column its room.

Saved configurations

The Configuration picker at the top of the page holds the layouts saved with the sheet. Default is the unsaved starting point; Save the configuration, Save as a new configuration and Delete the configuration manage the named ones. A saved configuration restores the selected levels and every per-level setting, so a report that takes some tuning is rebuilt in one tap next time.

Getting the file

The report is named <sheet>.pdf. As for the ZIP export, a desktop save dialog lets you choose the location and the web browser downloads the file; the page stays open so you can adjust the settings and generate again. On mobile the PDF opens in a preview first, with a share action that hands it to the system share sheet.

Tip: For a report of one record with everything that hangs beneath it — a project with its sites, locations and installed products — use Generate PDF from the row’s menu, tick the sub-levels once, and save the configuration.


Next: Sharing & Permissions →