# Record Citation

## **Specs**

<table><thead><tr><th width="320">Label</th><th>Value</th></tr></thead><tbody><tr><td><strong>Version</strong></td><td>1.0.0 (updated on 2021-09-13)</td></tr><tr><td><strong>Developer</strong></td><td>Labii Inc.</td></tr><tr><td><strong>Type</strong></td><td>Column</td></tr><tr><td><strong>Support Configuration</strong></td><td>No</td></tr><tr><td><strong>Support Readonly view</strong></td><td>Yes</td></tr><tr><td><strong>Support Edit view</strong></td><td>Yes</td></tr><tr><td><strong>Support Form view</strong></td><td>No</td></tr><tr><td><strong>Support Default data</strong></td><td>Yes</td></tr><tr><td><strong>Support Import</strong></td><td>No</td></tr><tr><td><strong>Allow multiple</strong></td><td>Yes</td></tr></tbody></table>

## Overview

The Labii Record Citation widget is a powerful tool designed to seamlessly display column data from one record into another within the Labii [Electronic Lab Notebook (ELN) ](https://www.labii.com/electronic-lab-notebook-eln)platform. This widget offers an intuitive interface, allowing users to effortlessly link and showcase specific information from a source record into a target record. By simply referencing the desired columns, users can establish connections between related records, enabling streamlined access and visualization of pertinent data, thereby enhancing efficiency and accuracy in research workflows within the Labii ELN environment.

## Use case

1. Display customer information when creating an invoice or quote.

## Configuration

No configuration required.

## Views

See the interface of the widget in the following views.

### **Readonly view**

Readonly view display the values of the column.

<figure><img src="https://github.com/Labii/labii-gitbook-docs/blob/gitbook/widgets/.gitbook/assets/widget-column-recordcitation-readonly.png" alt=""><figcaption></figcaption></figure>

### **Edit view**

The Edit view is the interface that allows you to modify the value.

<figure><img src="https://github.com/Labii/labii-gitbook-docs/blob/gitbook/widgets/.gitbook/assets/widget-column-recordcitation-edit.png" alt=""><figcaption></figcaption></figure>

### **Form view**

The Form view is the field integrated into the add form for collecting values when creating a new record.

The Form view is not supported.

## Data

Each widget in Labii stores data in a unique manner; refer below to understand how data from this widget is stored.

### Data format

JSON object with the following keys:

```json
{
    "record": {"sid": "", "name":""},
    "version": {"sid": "", "name":""},
    "fields": [],
    "should_display_header": true
}
```

### **Default data**

The Default Value field within the column allows you to specify the default value when a record is created.

Default data is JSON object that is same as the data format.

### **Import value**

The Import Value is the value you need to include in your Excel table for it to be imported into Labii.

Import value is not supported.
