StringMetadata

Metadata for a Dataverse single-line text (string) column, including the maximum character length.

StringMetadata Class

Properties

Name
Type
Default
Description
ColumnNamestring
The logical name of the column in Dataverse (e.g. 'firstname', 'emailaddress1').
ColumnTypeColumnType
String
Returns String.
Descriptionstring?
The localized description of the column, or null if no description is configured.
DisplayNamestring
The localized display name of the column as configured in Dataverse.
IsValidForCreatebool
False
Indicates whether this column can be set when creating a new record.
IsValidForUpdatebool
False
Indicates whether this column can be modified when updating an existing record.
MaxLengthint?
The maximum number of characters allowed, or null if unlimited.
RequiredLevelRequiredLevel
None
The required level of the column (None, SystemRequired, ApplicationRequired, or Recommended).
Name: ColumnName
Type: string
Description: The logical name of the column in Dataverse (e.g. 'firstname', 'emailaddress1').
Name: ColumnType
Type: ColumnType
Default: String
Description: Returns String.
Name: Description
Type: string?
Description: The localized description of the column, or null if no description is configured.
Name: DisplayName
Type: string
Description: The localized display name of the column as configured in Dataverse.
Name: IsValidForCreate
Type: bool
Default: False
Description: Indicates whether this column can be set when creating a new record.
Name: IsValidForUpdate
Type: bool
Default: False
Description: Indicates whether this column can be modified when updating an existing record.
Name: MaxLength
Type: int?
Description: The maximum number of characters allowed, or null if unlimited.
Name: RequiredLevel
Type: RequiredLevel
Default: None
Description: The required level of the column (None, SystemRequired, ApplicationRequired, or Recommended).