Upload a table
- In your dashboard, go to Designs → More actions → Data Sources.
- Click Upload CSV and pick the file.
- The dashboard says how many rows it uploaded, or what’s wrong with the file.
- The first column is the key: the column lookups search unless you choose another. Keep its values unique.
- Designs name the table by its file name, without
.csv:Offices.csvisOffices. - To change a table, upload the new file with the same name. It replaces the old one, and every design that uses it reads the new rows.
- Limits: 5,000 rows, 50 columns, and 350 KB. For a bigger list, split it into several files, or remove columns no design uses.
- Save Excel files as CSV (UTF-8) first, so accents and symbols come through.
The Data Sources section
Open a design and go to the Design tab. The Data Sources section sums up what the design uses, for example “4 fields · 1 table · 1 rule”. Click it to see the list:- 1 · Tables: the tables the design can read. Click one to see its first rows and the fields that read it. If you uploaded a table while the editor was open, click Refresh.
- 2 · Fields: each field and where its value comes from, in the order they’re filled. Click one to open it, or click Add a field.
- 3 · Rules: the items that only show sometimes, and when.
Fields
A field is one named value, such asOffice or Office address. Fields are made for you when you make a text something the customer fills in (see Smart Objects), or you can add one under Fields → Add a field.
Open a field and choose Where its value comes from:
Customer enters it
Customer enters it
The customer types it in the form, or ticks a box. Under Input, choose the kind of value: Text, Email, Phone, Link, Number, Money, Percentage, Date, or Yes / No (a tick box). The editor then checks what the customer types and writes it in the format you set, for example a date as 21 May 2027 or a phone number with its country code.Starts with is the value the design shows before the customer changes it, and Required makes the customer fill it in.
Customer picks
Customer picks
The customer picks one of a list. Under Choices, take them from A table column (choose the table and column) or from A list I type (one choice per line).Starts on chooses the option the design opens with, so it never shows blank. Pick Customer chooses to start with nothing chosen.
From a table
From a table
The value is looked up in one of your tables, and the customer doesn’t see it in the form. Under Look it up, choose:
- Table: which table, for example Offices;
- Find the row where: the column to search, and Equals field: the field whose value it must match, for example the Office the customer picked;
- Column: the column whose value to use, for example Address;
- No match: what to show when no row matches. Pick Leave it blank, or type a fallback.
Worked out
Worked out
The value is worked out from other fields with a formula, for example a best-before date 18 months after the packing date. The customer doesn’t see it in the form. Use Insert field to add a field to the formula where the cursor is. Under the formula, the panel shows the result for sample values, or what’s wrong with it.
- A picture field: the customer gives a picture, and every frame that uses the field shows it.
- A colour field: the customer picks a colour, and every item that uses the field is painted with it. List the colours to offer, separated by
;, as#hexcodes or names from your palettes.
Connect an item to data
Select an item on the design, then go to the Object tab. Its Data section has three lines. Click one to change it. Content is what the item shows:- For a text: Fixed, or Customer fills it in. To fill only part of a text, type the field’s name in curly brackets inside the text, for example
Tel. {Phone}. - For a picture frame:
- Fixed picture;
- Customer replaces it;
- Picked by a field: a field’s value chooses the picture. Choose the Field and where the pictures come From, either the frame’s own graphics or one of your graphics folders. The frame shows the picture named like the value, so Salted caramel picks
salted-caramel.png.
- Always;
- Only when…: choose a Field, a Condition (is, isn’t, is empty, isn’t empty; for a tick box, is ticked or isn’t ticked) and the Value to compare with.
Long values
A value from a table or a formula can be longer than the space you left for it, for example a long address. Select the text and turn on Typography → Shrink to Fit:- the text box keeps its size;
- the font shrinks until each line fits, down to Min font size (half the starting size unless you change it);
- it fits again every time the value changes.
Formulas
Worked out fields, Advanced lookups and Only when… rules are formulas. They are written like spreadsheet formulas:
Some useful functions:
The full list:
abs, ceil, coalesce, concat, contains, date, date_add, day, days_between, ean13_check, ends_with, floor, format_currency, format_date, format_number, format_percent, format_phone, gs1_check, gs1_link, if, iferror, ifs, isempty, iserror, left, len, lookup, lookup_or, lower, match, max, mecard, mid, min, month, pad_left, pad_right, parse_date, parse_number, proper, repeat, replace, right, round, split_part, starts_with, sum, switch, text, trim, upc_check, upper, url_with_utm, value, vcard, weekday, wifi, year.
Example: an office on a business card
- Upload
Offices.csv, with the columnsOffice,AddressandPhone. - Add a field
Office: Customer picks, with Choices from A table column: table Offices, column Office. - Add a field
Office address: From a table. Table Offices, find the row where Office equals field Office, column Address, no match: Leave it blank. Try it shows an address. - Add a field
Office phonethe same way, with the column Phone. - Put the fields on the card: in a text, type
{Office address}, and in anotherTel. {Office phone}. Select the address text and turn on Shrink to Fit. - Save, and try it as a customer. The form asks only for the office, and the address and phone fill in.
Offices.csv again: the card reads the new addresses, with no change to the design.