Export Records
Overview
Labii’s export functionality is table-specific and can only be accessed from the table list view. It offers two types of exports: Export Current Page, which allows users to export all data displayed in the current list view, and Export with Customization, which provides flexibility in selecting the number of columns, adjusting the data size, and choosing the desired file format. This ensures that users can efficiently extract the exact data they need in a structured and customizable manner.
Export current page
Labii allows users to export the contents of a list at the current page into a .tsv (Tab-Separated Values) file for easy data sharing and analysis. Follow these steps to perform an export:
- Navigate to the List View – Ensure you are in the table’s list view where the data is displayed.
- Open the Actions Dropdown – Locate the Actions dropdown in the side menu.
- Select “Export Current Page (*.tsv)” – From the Actions dropdown menu, choose this option to export all data currently visible in the list view.
- Download the File – The export process will begin automatically, and the .tsv file will be downloaded to your device.
The .tsv format is useful for transferring structured data while maintaining easy compatibility with spreadsheet software, text editors, and data processing tools. If you need more customization, consider using the “Export with Customization” option for selecting specific columns, adjusting file size, and choosing alternative formats.

Export with customization
The customizable export enables you to:
- The ability to export any number of records. In addition to being able to export one particular page or all records, you can also export specific records.
- Choose an output format: *.tsv, *.csv, *.xlsx, *.txt (separated by "|"), or *.json.
- Customize the columns. You can specify which columns to export, the order they are exported in, and their column headers.
- Combine with other tables. Information from other tables can now be exported via the ForeignKey widget. In the case of a biospecimen generated from a patient, when exporting the biospecimen table, you can include the patient's name, age, gender, etc.
Exporting from the List View:
- Navigate to the List View – Ensure you are in the table’s list view where your data is displayed.
- Open the Actions Dropdown – Locate and click the Actions dropdown in the side menu.
- Select “Export with Customization” – Choose this option from the Actions dropdown menu.
- Configure Export Settings – A new export page will appear, allowing you to customize the number of columns, file size, and format.
- Download the File – After configuring your export, confirm the settings and download the file.
Exporting Selected Records:
Use this option to export only specific records instead of the entire list.
- Navigate to the List View – Open the table containing the records you want to export.
- Select Records – Check the boxes next to one or more records you wish to export.
- Open the Actions Dropdown – In the side menu, click Actions to open the menu.
- Select “Export” – Choose this option from the Actions dropdown to proceed with exporting the selected records.
- Customize Export Settings – A new export page will appear, allowing you to adjust file format, columns, and data size as needed.
- Download the File – Once configured, confirm and download your export.

Export settings
The following settings can be configured:
- Records - Number of records to be exported
- Selected records
- Current page
- All active
- All archived
- All
- Filter - Records matching a saved filter, selected in the Filter field
- Query - Records matching a URL query entered in the Query field, for example
is_archived=false&name__icontains=abc
- Data format - Choose what type of data you want to export
- *.tsv
- *.csv
- *.xlsx
- *.txt (separated by "|")
- *.json
- Columns - The columns to export
- Joined tables - Access data from other tables that are joined through ForeignKeys.
- Column order - The order of the columns in the export. See Column order.
- Rename columns - Change the column headers in the export. See Rename columns.
Column order
By default, the record fields and columns are exported in the order they are selected, followed by the joined table columns. Use Column order to export them in a different order.
- Enter a list of column names separated by ",", for example
uid, name, Sample:Concentration. - Use the names shown in the Field column of the export preview. Column names are used instead of SIDs so the order is easy to read and edit.
- Joined table columns are named
ForeignKey column:Field. For example, theConcentrationfield joined through theSamplecolumn isSample:Concentration. - Listed columns are exported first, in the given order. Columns that are not listed are exported after them in their default order. Names that do not match an exported column are ignored.
- If a column is renamed, you can use either its old or its new name.
Instead of typing the order, you can drag and drop rows in the export preview using the handle in the first column. When you drop a row, the Column order field is updated with the new order.
Rename columns
Use Rename columns to change the column headers in both the export preview and the exported file. Add one item for each column you want to rename:
- Old name - The column name as shown in the Field column of the export preview before renaming, for example
name. - New name - The column header to use in the export, for example
Title.
Joined table columns can be renamed as well. Use the full name ForeignKey column:Field, for example rename Sample:Concentration to Concentration.
Items with an empty old or new name, or with an old name that does not match any column, are ignored. If the new name is already used by another column, the column keeps its old name.
Click Save as default to reuse the column order and renamed columns in future exports.
Predefine settings from the URL
All export settings except joined tables can be prefilled from the URL query of the export page. This is useful for sharing a preconfigured export or linking to it from elsewhere in Labii. The Form link in the documentation panel of the export page is built from the current settings and can be copied directly.
| Parameter | Description |
|---|---|
records | One of Selected, Current page, All active, All archived, All, Filter, or Query. |
filter | The SID of a saved filter. Used when records is Filter. |
query | The query string. Used when records is Query. Encode = and & in the value as __EQUALS__ and __AMPERSAND__. |
query_json | A JSON object containing the query parameters. Used when query is not provided. |
format | One of tsv, csv, xlsx, txt, or json. |
columns | Column SIDs or record fields to export, separated by ",". |
column_order | Column names in the export order, separated by ",", for example uid, Title, Concentration. |
rename_columns | old name>new name pairs separated by ",", for example name>Title,Sample:Concentration>Concentration. |
For example, the following query exports all records matching a saved filter as an Excel file, with the name column renamed to Title:
?records=Filter&filter=<filter SID>&format=xlsx&rename_columns=name>Title
URL values take priority over saved defaults. Other URL parameters are applied to the records when records is Current page or All.
A column name used in column_order or rename_columns cannot contain ",". A renamed column name cannot contain ">".
Export preview
You will see a real-time preview table as you change the configuration. This record is shown only as an example. It may not be included in the final export.
The preview shows the columns in their export order with their export headers, so it reflects both Column order and Rename columns. Drag and drop a row to change the column order.