Reference

Overview

The Reference control type allows the user to select an instance of another container in the same DataPortal. This is stored by ID in the database. The control creates a button on the page:

Reference Control

Clicking this button opens a menu showing possible choices:

Reference Modal

Excel Sheet Input

Required fields

The Reference control type requires the following Excel columns:

  • Name: The name of the field saved to the database.

  • Type: The name of the container type backing this field. Must be set to Form.<ContainerName> where <ContainerName> is the name of the Excel sheet representing the referenced container.

  • ControlType: The name of the desired control type. Must be set to Reference.

Optional fields

The Reference control type also supports the following Excel columns: