If you have data created before using Labii, or if you want to migrate data from another platform to Labii ELN & LIMS, you can use Labii’s import function.
External data can be imported into Labii. Labii supports *.tsv, *xlsx files. Labii does not have any request on the number of columns. You will have options to match the headers with fields in Labii. Please use the first row as headers.
Click Tables on the nav bar
Select a table from the menu list of options.
Click the Menu button on the top bar and click Import.
Choose which project to import from the drop-down list.
Upload your *.tsv or *.xlsx file and click next.
Choose the columns to match with each header for your records.
The title of the model shows the number of records to import. At this step, you can map all fields in your file with the defined columns in Labii.
Each field of form represents a column in your *.tsv or *.xlsx file.
The dropdown options are the table fields in Labii.
The value of first row is displayed as the field description.
Although Labii provides flexibilities in number of columns. Certain data type have to be prepared in a proper way to imported correctly.
We recommend you to prepare the data in an excel sheet or google sheets and then save the data as *.tsv or *.xlsx.
Here are some important notes to pay attention to:
First Row as Title - Always include the title at the first row
# at the beginning of a row to ignore. The whole row with # at the beginning will be excluded from importing.
The number of column does not matter. You can ignore a column via not selecting a matched column.
The order of column does not matter.
Use Unique ID (UID) to match and update existing records. The UIDs that do not match to records in database will be ignored and a new UID will be assigned. UID is mostly used to update an existing records.
For Select Use the exact value of your choose. use
, to separate multiple values for MultiSelect.
For ForeignKey columns, use UID or name to match. use
, to separate multiple UIDs or names for ForeignKeys.
For Boolean columns, Use true for true and false for false.
For Date columns, use YYYY-MMMM-DD
Labii support two types of export.
Export Current Page: Download the current page as a tsv file.
Export All Pages: Export all records as a json file.