Files

Streamline file management by allowing users to attach new or existing files effortlessly

Specs

Label
Value

Version

4.0.0 (updated on 2025-01-24)

Developer

Labii Inc.

Type

Section

Overview

The Labii Files widget is a versatile tool designed to streamline file management by allowing users to attach new or existing files effortlessly. It supports all file types and provides a detailed display of file information, along with a preview feature for supported formats. For compatible file types, users can also edit files directly within the widget, enhancing productivity and convenience. This comprehensive solution ensures seamless integration and management of files within the Labii platform.

File Types

The Files widget provides comprehensive functionality for handling various types of files. Users can upload any file type effortlessly through the widget, enabling seamless sharing and collaboration. Once files are uploaded, they can be easily downloaded as needed, ensuring quick access to important documents or resources.

In addition to basic upload and download features, the Files widget also supports file preview and editing, making it a versatile tool for managing content. The preview feature allows users to view certain file types directly within the widget without the need to download them first, saving time and effort. Editing capabilities enable users to make changes to supported file types directly within the platform, streamlining workflows and enhancing productivity.

Please refer to the table below for a detailed breakdown of supported file types and their corresponding functionalities, including preview and editing options.

Files
Suffix
Preview
Editing

Picture

*.jpg, *.jpeg, .png,

.gif, *.bmp

Yes

Yes

Picture

*.tiff

Safari

yes

Video

*.mp4

Yes

No

Audio

*.mp3

Yes

No

Text

*.txt

Yes

Yes

Tabular Data

*.tsv, *.csv

Yes

Yes

HTML

*.html

Yes

Yes

PDF

*.pdf

Yes

No

Word

*.docx

Yes

Yes

Excel

*.xlsx

Yes

Yes

Presentation

*.pptx

Yes

No

Office 2013

*.doc, *.xls, *.ppt

Yes

No

Chemical Structure

*.cml, *.inchi, *.mol, *.sdf, *.smi, *.cdx, *.kcj, *.mrv, *.sd

Yes

Yes

Plasmid

*.gb, *.gbk, *.ape, *.ab1, *.fas, *.fasta, *.seq, *.sbd, *.dna

Yes

Yes

Use case

The Files widget can be widely used to manage any type of file across various use cases. It allows users to upload, preview, and edit files directly within the platform, ensuring seamless organization and accessibility.

  • Experiment Notes: Upload raw data, analysis reports, or result images directly to experiment notes for centralized and organized documentation.

  • Contract Records: Attach signed agreements or supporting documents to contract entries for streamlined management and easy reference.

Settings

The Files widget operates seamlessly out of the box without requiring additional settings. However, users have the option to customize which fields are displayed and what information is associated with files during the upload process.

  • Fields - Fields to display

  • Column Referenced - The ForeignKey or ForeignKeys column that referenced to this record. If set, the current record will be assigned to the ForeignKey or ForeignKeys column when uploading new files.

  • Fields to Copy - Fields to copy. Default to projects.

Interface

The Files widget offers two intuitive interfaces to streamline file management. The first interface displays the uploaded files, allowing users to easily view and interact with their files. The second interface is a form designed to add existing files, making it simple to link previously uploaded files to a record.

The default interface includes various components to enhance usability. Each file item is displayed with key column data and a file preview, along with action buttons to hide or show the column data and preview as needed. Users can download the original file with a single click or delete the file item when necessary. Additionally, this interface provides a button to add new files and a drag-and-drop area for quick file uploads. An edit button is also available, enabling users to adjust settings as required.

When users click the "Add Existing File" button, a modal form is displayed, allowing them to select one or more files from previously uploaded content. This form also includes an option to specify a version, ensuring that the desired version of a file is linked to the record seamlessly. This dual-interface design makes the Files widget a powerful and flexible tool for managing files efficiently.

Versioning

Labii now supports file versioning. Whenever the content of a file is changed, a new version is automatically created. This ensures that all modifications are tracked, and previous versions can be accessed if needed.

Antivirus scan

Labii can perform a real-time antivirus scan for all uploaded files. By default, this feature is disabled. To enable the real-time scan, navigate to Settings -> Organization Detail and set enable_antivirus_scan to true.

All files will have 3 status:

  • Pending - pending for antivirus scan

  • Clean - the file has been scanned and safe

  • Infected - the file has been scanned and malware detected

The infected file will be locked and quarantined, preventing any preview or download. Additionally, the system will notify you when malware is detected.

Enabling the real-time antivirus scan may slow down the file upload process by approximately 20 seconds.

Sign and lock

Any files uploaded after a record is signed will be locked to their most recent version. If a file is modified further, the previous version will remain visible for reference.

Last updated