File
Overview
The File control type allows for saving files directly in a DataPortal.

Required Fields
-
Name: The name of the field saved to the database.
-
Type: Must be set to
System.Byte. -
ControlType: Must be set to
File.
Optional Fields
-
MaxSizeInMB: The maximum size of the file in megabytes.
-
AllowedFileTypes: A comma-separated list of allowed file extensions.
-
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.
-
StrMax: The maximum number of characters allowed in the saved string value.
-
StrMin: The minimum number of characters allowed in the saved string value.
-
UniqueConstraint (deprecated)
-
UniqueConstraintScopeToParent (deprecated)