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:
Clicking this button opens a menu showing possible choices:
Required Fields
-
Name: The name of the field saved to the database.
-
Type: Must be set to
Form.<ContainerName>
where<ContainerName>
is the name of the Excel sheet representing the referenced container. -
ControlType: Must be set to
Reference
.
Optional Fields
-
CustomIndex: Settings for one or more indexes to create on the database that include this column.
-
Description: Optional further details about the field.
-
DisplayName: The name that will be shown for the field above the input box. This can be any string. If no DisplayName is provided, Name will be shown.
-
Group: The layout group position for this control.
-
UniqueConstraint (deprecated)
-
UniqueConstraintScopeToParent (deprecated)