Integration & Automation

Datasets: reference tables to look up and prefill from

A dataset is a maintained reference table of your organization, such as suppliers, products or locations. Task fields look up from it and fill themselves and other fields.

On this page

How to: create and use a dataset

  1. 1
    In the menu, open Templates and the Datasets tab.
  2. 2
    Click **+ at the top left, enter a name such as “Suppliers” and click Create**.
  3. 3
    Add the columns under Columns. The first becomes the key column that is searched.
  4. 4
    Click Add row and enter the values. Or load them via Import file.
  5. 5
    In a template, give a field the type From dataset and pick your dataset there.
The datasets page with the dataset “Lieferanten”: the list on the left, the columns and the rows table on the right
  1. 1**+** creates a dataset
  2. 2Connect to Excel
  3. 3Import file
  4. 4Columns: the schema of every row
  5. 5Add row
Pick the dataset on the left, maintain columns and rows on the right.

A dataset belongs to the organization, not to one template. Maintain it once and it is up to date in every template. Datasets and columns need the Manage templates right; for rows, Maintain datasets is enough.

Duplicate, rename or describe a dataset
  • Duplicate dataset in the ⋮ menu at the top right creates “<name> (Copy)”, with all columns and rows, archived ones too.
  • An Excel connection, the history and open suggestions are not copied.
  • The Billing details switch and the Invoicing role are always copied. The assignment of the details (street, postcode, city, country, VAT ID, payment term) is copied only with “Maintain billing details”; otherwise no column is assigned.
  • To change the name, use the pencil icon next to it.
  • The description sits below the name and also in the list on the left. If there is none, click Add description.

Define the columns

The columns are the schema for every row. Each column has a label, a type and a technical name that is created for you. Once the dataset has rows, the Columns card is collapsed; click its header to open it.

The columns of the dataset “Lieferanten”: Name as key, Stadt and E-Mail, each with type, unit, key and required
  1. 1Type of the column
  2. 2Key: exactly one column
  3. 3Required
  4. 4Add column
  5. 5Billing details
Type new columns at the bottom, choose type and key per row.
TextNames, places, identifiersUsual for the key column
NumberQuantities, prices, targetsCan carry a unit, such as €, pcs or h
DateDeadlines, appointmentsEnter as DD.MM.YYYY
EmailContact addresses—
Yes/noFlags such as “active”—
Formatted textService descriptions with paragraphs, lists and tablesNever the key, not in the match list, not translated
Reference → <dataset>Entries of another dataset, such as a contact’s companyNever the key
KeyThis column is searched and its value names the entry. Duplicate values block the switch.
RequiredEmpty cells in this column count as incomplete.
UnitNumber columns only. It shows in the rows table and with the target in a stack’s “Whole inventory” box.
Handle ⋮⋮Drag to reorder the columns.
Trash iconRemoves the column. While the notice shows at the bottom, Undo brings it back with its values.
Language picker top rightWith a target language you enter translated column names. Translate › jumps to the missing ones. The language picker needs 640 px window width.

If you switch a column with values to number, date, email, yes/no or reference, Bricksta checks every value first. If one doesn’t fit, such as “ca. 90k” in a number column, the type stays. The message lists the values and the cells are marked red.

Reference columns in detail
  • Bricksta remembers the entry, not just its name. Rename it in the target and the name follows in every row.
  • Merge two entries in the target and the references point to the one that stays.
  • A referenced entry can only be archived, not deleted. A dataset that a column points to stays as well.
  • Nobody can newly assign an archived entry, not via import either. Existing assignments stay.
Formatted text in detail
  • Paragraphs, bold, bullet lists, numbered lists and tables with a header row and merged cells are allowed.
  • The rows table shows only the beginning; a click opens the editor. Nothing is saved until you click Save.
  • The Table button opens a menu: outside a table it offers Insert table; inside a table it inserts rows and columns, merges or splits cells.
  • Drag the line between two columns to set their widths. The display and the quote PDF use the same split.
  • Limits: 20,000 characters, 8 columns and 500 rows per table. The counter below the editor shows where you stand.
  • If a Generate document step reads the column as its service description, Insert field offers that step's placeholders. That way no name gets mistyped.
  • Placeholders such as {{Team size}} are highlighted in the text. A name a published quote does not fill in gets a wavy underline.
  • If a published quote does not fill in a name, a notice appears below the editor. It shows every time you open it and right as you type.
  • Details gives the reason per template. Saving still works. Until the name is set up, the quote stops.
  • Ask to set it up messages people who manage templates. A changed text is saved first.
  • People who can't see a template aren't asked about it. If you manage templates yourself, you get Open template instead.

Maintain rows

Click Add row and type into the cells. Bricksta saves a value when you leave its cell. If someone maintains the same dataset at the same time, you see their changes without reloading.

The rows table of the dataset “Lieferanten” with Acme GmbH, Globex AG and Initech KG including city and email
One cell per column, the row menu ⋯ at the end of each row.

The end of each row shows how many cases use the entry, such as “3 cases”. Next to it, ⋯ opens the row menu. Drag the handle ⋮⋮ to reorder rows.

If the dataset has many columns, use the button next to the dataset name on a desktop to hide the dataset list. The table then uses the full width, and the first column stays in place as you scroll right. Bricksta remembers the setting on this device; the same button shows the list again.

Duplicate …A copy appears right below, its name gets “(Copy)”. Its history starts fresh.
History of …Who created, changed (old → new), archived or merged the row and when, including by import or from Excel.
Archive …The entry can no longer be picked, existing cases keep it. Show archived and Reactivate … bring it back.
Merge … into …For duplicates like “MKS GmbH” and “MKS”: running cases show the one that stays, the other is archived. A customer’s payments and credit move along; that then requires “Maintain billing details”, and the history names the number of moved payments.
Delete …Cases with this entry lose their reference, the notice gives their number. Undo brings the row back.

If an entry should stay in old cases, archive it instead of deleting it. Completed cases and those awaiting approval keep the old name when you merge.

Import rows from CSV or Excel

  1. 1
    Select the dataset and click Import file at the top right.
  2. 2
    Choose a CSV or Excel file (.xlsx). Its first line holds the column names.
  3. 3
    If the file has several worksheets, you pick one. In a dataset that has columns, Bricksta adds new columns only after asking you.
  4. 4
    Check the preview: new, changed, unchanged and skipped, each with the reason.
  5. 5
    Click Apply rows. If one row fails, the whole dataset stays unchanged.
The datasets page with the “Import file” button at the top right
  1. 1Import file
The import starts at the top right via Import file.
the key already exists in the datasetthe entry is updated, not duplicated.
a cell in the file is emptythe existing value stays.
a required column is missing from the filethe preview names it. The import goes on; the column stays empty in new rows.
the file carries new columns and you may manage templatesa dialog asks before anything is created. It names the new and the missing columns. Continue shows the preview, Cancel changes nothing.
the key column is missing from the filethe import stops and names the missing and the unknown columns, as the table shows them. Otherwise duplicate entries would appear.
the file carries new columns and you may not manage templatesthe import stops and names the columns. Usually column names were changed.
a CSV value contains a comma or line breakput it in quotes, such as "München, DE".
the file is in the old .xls formatsave it as .xlsx in Excel.
dates or numbers come from Excelthey fit date and number columns without reformatting.
the target is a “Formatted text” columnthe value arrives as plain text, a blank line separates paragraphs.
the dataset is connected to Excelthe new rows go into the file with the next sync.

Export rows as CSV

Click Export CSV next to Import file. The file holds every non-archived entry and opens straight in Excel. Import it unchanged and the preview reports 0 changes.

If a value starts with =, +, - or @, an apostrophe goes in front of it. That stops Excel from running it as a formula. Bricksta strips the apostrophe when reading the file back.

Sync with an Excel file

If a list already lives in Excel on OneDrive or SharePoint, Bricksta syncs it hourly in both directions. The file needs a formatted table for this (“Format as Table” in Excel).

  1. 1
    Click Connect to Excel and, if needed, connect your Microsoft account with file access.
  2. 2
    Pick the file under Recent, My files or Shared with me, or search for its name.
  3. 3
    Pick the table and map the columns. The key column must be included.
  4. 4
    The last sync now shows above the rows table. Sync now starts it right away.
The datasets page with the “Connect to Excel” button at the top right
  1. 1Connect to Excel
The connection starts via Connect to Excel.
The same cell was changed on both sidesThe Excel value applies, the old one is in the row history.
A row is missing in ExcelThe entry is archived, not deleted. Bricksta never deletes anything in Excel.
An archived or merged entry is still in ExcelIt takes no more changes. The page names it so you can remove it there.
“Formatted text” and billing details columnsThey are not synced and can’t be mapped.

Syncing runs through the Microsoft account of the person who connected it, while they may maintain datasets. Whoever can edit the Excel file changes the dataset. Share the file only with people who may do so.

Fill a field from a dataset

  1. 1
    Open the template and the task that should look up.
  2. 2
    Add a field and choose From dataset as its Type.
  3. 3
    Pick your dataset under Select dataset.
  4. 4
    Under Fill other fields, map columns to target fields, such as Stadt → field Stadt.
The template editor with a field of type “From dataset”, the dataset “Lieferanten” and the mapping Stadt → Stadt
  1. 1Type: From dataset
  2. 2Select dataset
  3. 3Fill other fields
  4. 4read-only
  5. 5When the dataset changes
The key column goes into the field itself, other columns into the mapped fields.

In the case, the field is a search box. Picking a row fills it and the mapped fields.

Entry missing? Add or suggest it

May maintain datasets“Add “name””The entry is created in the dataset and fills the field right away.
May not“Suggest “name””The field shows the name with “suggested”. The task can still be completed.
Customer portal and guest links—Neither add nor suggest.

Open suggestions show at the top of the dataset page, and Templates shows how many. Accepting adds the entry; when rejecting, you pick a replacement or clear the field. The suggester is told.

Against duplicates, the add entry shows “(similar: …)”, such as for “MKS GmbH” next to “MKS” (case, punctuation, legal form don’t count). You can still add it.

Protect and update values

With read-only, a target field only shows the value from the dataset, such as a list price. It shows a lock and follows the chosen row. This works for text, long text, email, number, date and yes/no.

never updateThe taken-over value stays.All other fields
update if unchangedAs long as nobody changes the value in the case.Free date fields
always updateEvery change in the dataset reaches the case, except fields never filled.Read-only fields

Deadlines on an updated date are recalculated. Completed cases and tasks awaiting approval stay unchanged. If the row had no value when picked, a read-only field won’t fill on its own later. Once the row has one, pick the same entry again.

Make the choice depend on another field

Example: first the customer, then only that customer’s contacts. The dataset “Contacts” needs a reference column Company → “Customers”.

On the field Contact, pick the field “Customer (via Company)” under Only entries matching. Until a customer is chosen, it reads “Choose “Customer” first”. If the customer changes, the contact is cleared along with the fields it filled.

Special cases of the restriction
  • Offered are From dataset fields of the same form whose dataset is the target of a reference column.
  • This holds on every path, including the portal: a contact of another company is rejected.
  • If a contact changes company, they stay; the field shows “no longer belongs to …”.
  • A new entry joins the chosen company right away. Suggesting isn’t offered.
  • A group sub-field can be restricted to a field at the top of the same task. Cards with their own case stay as is on a customer change.
  • If the reference column or the other field’s dataset changes, the restriction is dropped.
Renaming and carrying into other tasks
  • Rename a row and running cases show the new name right away.
  • Completed cases and those waiting for approval keep the old name and show “today: …” below it.
  • Carried on under Also in other tasks, the whole case holds one value. The field then works as an overview column, in the title and for follow-up cases.
  • For a follow-up case, both fields must look up from the same dataset.

Set target and deadline for the stacked view

If you stack the case list by a field from this dataset, each stack reads its Target and deadline from its entry’s row. The target is a number column, the deadline a date column.

Unless you choose otherwise, Bricksta uses the first number and the first date column. You pick others when saving a view, under “Target and deadline”. If a row has no target, the stack shows “No target set”.

Add billing details

If a dataset holds your customers or billing addresses, turn on Billing details and pick one column per detail, never the key column. The details depend on the Invoicing role, see Billing addresses.

Street, postcode, city, country, VAT IDOne column each; the invoice takes the address from them.
Payment term in daysA number column; applies to orders without their own term and gives the due date.
Invoicing roleCustomer, billing address or contact person. Only with “Maintain billing details”.
Turning it offOnly once no column is assigned.
Changing cells and assignmentOnly with the Maintain billing details right. Initially everyone who manages the organization has it.
Merging, deleting for goodAlso only with Maintain billing details.