Import templates (CSV & Excel)
Import templates let you read CSV and Excel files into X-Sitter. A template stores the import type, optionally the client, the file format and the mapping "column of the file → field in X-Sitter". Once saved, you can import any number of files with the same layout in a few clicks.
The most common use is the article import: create or update articles with attributes, categories, main image, product family and owner. The same tool also imports categories, manufacturers, bills of materials, storage places, stock and tracking numbers.
Before you start
- Your user needs the permissions for the import, the template list and creating templates – ask your administrator.
- For an article import, set up first:
- Attribute groups and attribute fields. The template shows your fields sorted by attribute group, plus the standard fields your company does not have yet ("Wird beim ersten Import für die Firma angelegt" – created for your company with the first import).
- Dropdown attributes with their values. Texts in the file are matched to the dropdown values (exact name first, then the first partial match, otherwise the raw value is stored).
- Clients, if you import for a client.
- The languages of your company (Catalogue › Attributes › Languages, Katalog › Attribute › Sprachen), if you import names and descriptions in several languages.
- Categories with an external ID, if you use the field External category ID. Categories in the fields Category 1–6 (Kategorie 1–6) are created automatically.
- File format: CSV (
.csv,.txt,.tsv) or Excel (.xls,.xlsx).
For Excel files, X-Sitter reads the active sheet – the one that was open when the file was last saved. Formulas are read as their result, date cells as YYYY-MM-DD, whole numbers without decimals (so EANs stay complete).
Step by step
Create a template
- Open Catalogue › Import › Templates (Katalog › Import › Vorlagen) and click New template (Neue Vorlage). Or go directly to Catalogue › Import › Create template (Vorlage erstellen).
- 1 · Template (Vorlage): enter the Template Name (Name der Vorlage), choose the Import type (Import-Typ) and the Client (Mandant). The client dropdown is shown to the logistician only: it lists your own company under Logistician (Logistiker) and your active clients under Clients (Mandanten) – see
The client of a template . The types are grouped into Items & catalog (Artikel & Katalog), Storage (Lager) and Orders & shipping (Aufträge & Versand); a short text under the dropdown explains what the selected type does. - 2 · Sample file & format (Beispiel-Datei & Format): drag a sample file into the field Drag a CSV or Excel file here or click (CSV- oder Excel-Datei hierher ziehen oder klicken). It is only used for the preview and the mapping – it is neither imported nor stored. For CSV, X-Sitter detects the Separator (Trennzeichen) automatically; you can adjust it, the Text delimiter (Textbegrenzer) and First line contains column names (Erste Zeile enthält Spaltennamen).
- Check the preview. Mapped columns are highlighted in blue and show the name of their field. The preview stays at the top while you scroll through the mapping.
- 3 · Map columns (Spalten zuordnen): the fields are grouped in sections you can expand – Master data (Stammdaten), Images (Bilder), Texts & categories · [language] (Texte & Kategorien · [Sprache], default language first) and Attributes · [group] (Attribute · [Gruppe]). Each section shows a counter "x / y". For every field, choose the column of your file; an example value from the file is shown next to it.
- 4 · Import settings (Einstellungen des Imports) – only for some import types, see below.
- Click Save template (Vorlage speichern) in the bar at the bottom. If something is missing, Bitte noch ergänzen lists it (name, import type, separator, required fields). Otherwise you see The CSV import template has been successfully saved.
Helpers for the mapping:
- Auto-assign (Automatisch zuordnen) maps columns whose heading matches a field (e.g. "SKU" → Item Number (SKU)). For a new template this happens automatically when you load the file.
- Search field … (Feld suchen …), Only mapped (Nur zugeordnete) and Clear mapping (Zuordnung leeren).
- If one column is mapped to several fields, the field shows "Spalte auch zugeordnet zu: …" (column also mapped to …).
Import a file
- In the template overview, click Import File (Datei importieren, cloud icon) next to the template.
- Drag the file into the dialog or select it – or choose from your data pool (wähle aus Deinem Datenpool). The data pool lists your CSV and Excel files, newest first. You can upload files to it beforehand under Catalogue › Import › Files (Dateien).
- The dialog now shows the preview: this is how the template reads the file – nothing has been saved yet. Check the rows and correct single cells if needed, see
Check and correct the preview . - Click Start Import (Import starten). Only now the import runs. Choose another file (Andere Datei wählen) takes you back to the file selection; if you close the dialog, nothing is imported.
- When the import is done, X-Sitter reports how many records were processed. For Book in items (Artikel einbuchen), the message also shows the pallet labels created and printed. If rows were skipped or taken with a notice, the message says how many – the details are in the
history of the runs . The column verarbeitete Elemente (processed items) in the overview shows the number of the last run, the column Last run (letzter Lauf) how it ended: ok, N skipped (übersprungen) or aborted (abgebrochen), with date and time.
Check and correct the preview
After you have chosen the file, X-Sitter reads it with the template and shows what the run would read in. This way you do not stumble over a wrong column or a typo only after the import.
- Header: the file name and N rows with data (N Zeilen mit Daten). Empty rows and the header row do not count.
- Table: only the columns the template maps. Above each column the field in X-Sitter is shown in bold (required fields with a red asterisk), below it the column name of the file – without a header row "Column N" (Spalte N).
- Row (Zeile): the first column gives the row number of the file; the header row counts as 1. The same number appears in error messages ("Zeile N: …") and in the
history of the runs . - Empty required fields have a red background ("Required field is empty", Pflichtfeld ist leer). This is a notice, not a stop – what happens to the row is decided by the import type.
To correct a value:
- Click into the cell and change the value. Enter or a click next to it takes it over.
- The cell now has a yellow background; the tooltip shows "The file said: …" (In der Datei stand: …). At the top you see how many cells you have corrected (N cells corrected, N Zellen korrigiert).
- If you type the original value again, the correction is undone. Discard corrections (Korrekturen verwerfen) undoes all of them at once.
- Click Start Import (Import starten). The run uses the corrected values.
- The file itself – uploaded or in the data pool – stays unchanged. The correction applies to this run only.
- Every correction is afterwards listed in the
history of the runs under Corrected by hand before the import (Vor dem Import von Hand korrigiert): row, new value, column and the value the file contained. - For large files the preview shows the first 500 rows in pages of 50 ("Rows 1–50 of 500"). The remaining rows are imported unchanged.
- At most 2000 cells can be corrected per run. If you need more, correct the file itself.
- If the run stops with "Zeile N: … Es wurde nichts gespeichert." (row N: … nothing was saved), the preview stays open with your corrections: correct the cell of the row named and click Start Import again.
- The preview is available for all import types and for CSV as well as Excel. Imports that a job runs automatically run without a preview.
History of the runs
Every run of a template is recorded – who imported which file when and how it ended, including runs that were aborted. This way you can see afterwards which rows of a file were not taken, for example because a storage place or an article was not found.
- In the template overview, click History of the runs (Historie der Läufe, clock icon) next to the template. The dialog Import history: [template] (Import-Historie) opens.
- The dialog lists the last 50 runs, newest first, each with date and time, user and file name, and the figures:
- N accepted (übernommen) – rows that were imported,
- N skipped (übersprungen) – rows the import could not assign and left out,
- N with notice (mit Hinweis) – rows that were imported, but with a notice,
- aborted, nothing saved (abgebrochen, nichts gespeichert) – the run failed; the reason and, if known, the row are shown below.
- Click Details below a run. The notes are grouped by cause – skipped rows first, then notices and infos – each with Row (Zeile, the line in the file, the header line counts as 1), Value (Wert, e.g. the storage place or item number from the file) and the message.
Notes are written by the import types Book in items (storage place, warehouse or article not found, no item number in the row, unknown owner, missing tax status, created articles, mixed pallets), Creating Storage Bins (Lager Plätze anlegen: created places, unknown storage area) and Bill of Materials (Stücklisten: skipped rows with their reason, bills of materials created and changed – see
- X-Sitter keeps the last 50 runs per template and up to 500 notes per run; further notes are only counted.
- When you delete a template, its history is deleted as well.
Edit, duplicate or delete a template
- Click the name or Edit (Bearbeiten) to change a template.
- Duplicate (Duplizieren) creates a copy "[name] (Kopie)" and opens it right away so you can rename it.
- Delete (Löschen) asks Should the template really be deleted? and then confirms The template has been deleted.
Load a new file into an existing template
When you load a new sample file into a saved template, the mappings follow their column by column name. If the new file has a different column order or extra columns, the mappings move along; empty fields with an exactly matching column name are filled in. Fields whose column no longer exists are listed under "Ohne passende Spalte, bitte zuordnen: …" (no matching column, please map). This only works with a header row – without column names, the column numbers stay.
One template works for both formats: the same template can read a CSV or an Excel file. Separator and text delimiter only apply to CSV.
Import types
For Creating Storage Bins and Book in items, the section Bin name from parts (Platzname aus Teilen) lets you build the place name from up to eight columns. The parts are joined with "-"; parts from the second one on are padded with leading zeros to the number of digits you choose.
The client of a template
The dropdown offers two groups: Logistician (Logistiker) with your own company and Clients (Mandanten) with your active clients.
- — no client — (— kein Mandant —): the column Owner (client) decides; without that column, the articles belong to your own company.
- Logistician: every row belongs to your own company – only your own articles (articles without an owner) are found or created. The owner column is ignored as well.
- A client: as in the table above.
The dropdown is shown to the logistician only – a client who is logged in always imports for themselves. See also Article owner and client access.
Fields for the article import
Older templates show their mappings at the new fields when you open them (for example "SKU" as attribute → Item Number (SKU), names and descriptions without a language → the field of the default language). Save the template to store them there.
Settings for "Book items"
Labels are printed only after the whole import has been saved. If the import fails, no label is created or printed. See also Pallet overview.
Every row that changes the stock writes an entry into the article history – with the goods-in reason of the warehouse and the comment "CSV-Import Bestand". With Sum it shows the quantity of the file, with Replace the difference to the previous stock (a reduction with a negative quantity). If nothing changes, no entry is written.
Fields for "Book in items"
Besides storage place, warehouse name, item number, EAN, owner, batch, best-before date and stock, the type Book in items has two optional fields:
Mixed pallets
If several articles stand on one pallet, map the column with the pallet ID to Pallet (mixed pallet) and switch on Create pallet labels. Then the import books them like restocking further articles onto a pallet at the scanner:
- Rows with the same value on the same storage place form one pallet. Every article gets its own pallet label, all labels get the same pallet number (each with its own pallet history entry).
- If one of these rows already has a pallet label on this place, it keeps it. If that row comes first in the file, the other articles of the pallet take over its number; otherwise the history of the run notes which article kept which number.
- The same value on another storage place is a separate pallet with its own number; the history of the run notes this.
- Rows with an empty cell – or a template without this column – get one pallet number per row, unless you have switched on Same place = same pallet ID.
Tax status of alcoholic goods
Alcoholic articles (with an alcohol content or an excise product code) need a tax status when they are booked in – just like at the scanner during putaway. The import takes it from the column Tax status of the row, otherwise from the setting Alcoholic goods without column "Tax status" of the template.
- With a tax status, the taxed or untaxed quantity of the article is updated and a goods receipt line (reason CSV-Import Bestand) is written to the alcohol tax ledger, naming the owner of the article. The note in the stock history shows the split, e.g. "CSV-Import Bestand – of which 0 taxed / 120 untaxed". With Replace, the difference to the previous stock of the place is booked; a lower stock appears in the ledger as a correction with a negative quantity.
- Without a tax status, the row is skipped and named in the
history of the runs – so no alcohol is booked without a ledger entry. The other rows are imported.
Settings for "Bill of Materials"
The import type Bill of Materials (Stücklisten) creates bills of materials or changes existing ones. Every row of the file is one article of a bill of materials; all rows with the same Bill of Materials (BOM) SKU belong together and need not follow one another. The export area Bill of Materials of the export templates writes the same columns – you can change an exported file and read it in again.
- Add (Ergänzen) – the articles of the file are added to the bill of materials or get the new quantity. All other articles of the bill of materials stay.
- Update (Aktualisieren) – afterwards the bill of materials holds exactly the articles of the file. Whatever is not in the file is removed from the bill of materials.
Bills of materials that do not appear in the file at all stay unchanged in both cases.
Unlike most import types, a faulty row does not stop the run: the row is skipped and the rest of the file is taken. Every skipped row is listed with row number and reason in the
What has changed in a bill of materials is listed in its Change history (Änderungsverlauf) – see Bills of materials. Orders in which the set has already been resolved into its components do not change through an import.
Settings for "Portal Mapping"
The import type Portal Mapping (Portal-Mapping) writes the same values as the Portal Mapping card in the article's Mapping tab (see Article mapping) – for many articles at once. One row of the file is one article.
- Empty cells keep the current value. An existing mapping of the article in this portal is updated only in the columns you filled in; nothing is deleted.
- Unknown item numbers are skipped. If an item number exists for several owners and the template has no client, the import stops and names the row – choose the client in the template.
- Item numbers made of digits with a decimal separator are searched in both spellings: a file with
122.68(as a JTL export or a spreadsheet writes it) also finds the article122,68– the spelling X-Sitter and JTL use. Item numbers with letters (B6.2) are searched exactly as written. - A new portal mapping always belongs to the logistician, also for a client's article.
Good to know
- An import is all or nothing: if one row fails, nothing is saved and the message names the row ("Zeile N: … Es wurde nichts gespeichert.").
- Rows that the import cannot assign are not a failure: for Book in items, a row whose storage place, warehouse or article is not found, that has no item number or (alcoholic article) no tax status is skipped; for Bill of Materials, a row without a SKU, with an unknown article or an invalid quantity. The other rows are saved. The message says how many rows were skipped; the
history of the runs names them. - A row whose warehouse name is not found is skipped – it is no longer booked without a warehouse.
- The import runs directly in your browser – after Start Import, keep the page open until the message appears.
- Article numbers are unique per company and owner. A different owner creates a separate article with the same SKU.
- The template stores the first rows of the sample file so that columns and example values are visible again the next time you open it.
- For order files, use the separate order import templates.
- After an article import, you may want to add images or book stock (Putaway).