Section Display By ForeignKey

Allowing sections from other records to be displayed via a column

Overview

The Labii Section Display by ForeignKey widget functions similarly to the Section Display by Record widget, allowing sections from other records to be displayed. However, instead of manually selecting the source record and sections, this widget retrieves data automatically from a column using the ForeignKey or ForeignKeys widget. This automation eliminates the need for manual selection, ensuring seamless and dynamic reference to related records.

Use case

  • Display SOP procedures in an experiment

  • Display the common files in projects from accounts

Configuration

The following configuration is needed to specify the record and sections to be displayed.

  • Column - The source ForeignKey or ForeignKeys column of the record. Input to search the column. For ForeignKeys, the first record will be used.

  • Version - The version of the record. Select a version to freeze the data to display. If the version is not selected, the newest version will be used. When this record is signed, a latest version will be assigned automatically.

  • Is Readonly - Check to make the data readonly. This does not apply to a particular version of the record.

Interface

The interface of the widget is exactly same to Section Display by Record.

Last updated