BoolMetadata

Metadata for a Dataverse boolean (yes/no) column.

BoolMetadata Class

Properties

Name
Type
Default
Description
ChoiceLogicalNamestring
The logical name of the boolean's option set (Dataverse OptionSet.Name), used to build the choices.{name}.values.{0|1}.label localization keys.
ChoicesList<ChoiceValueMetadata>
The default false/true display labels (value 0 and value 1) as configured in Dataverse, used as a fallback when a localization override isn't available.
ColumnNamestring
The logical name of the column in Dataverse (e.g. 'firstname', 'emailaddress1').
ColumnTypeColumnType
Boolean
Returns Boolean.
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.
IsGlobalbool
False
Whether the boolean's option set is a global option set (rare for booleans). Determines whether the localization keys live under the global choices.* subtree or the table-scoped tables.{table}.choices.* subtree.
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.
RequiredLevelRequiredLevel
None
The required level of the column (None, SystemRequired, ApplicationRequired, or Recommended).
Name: ChoiceLogicalName
Type: string
Description: The logical name of the boolean's option set (Dataverse OptionSet.Name), used to build the choices.{name}.values.{0|1}.label localization keys.
Name: Choices
Type: List<ChoiceValueMetadata>
Description: The default false/true display labels (value 0 and value 1) as configured in Dataverse, used as a fallback when a localization override isn't available.
Name: ColumnName
Type: string
Description: The logical name of the column in Dataverse (e.g. 'firstname', 'emailaddress1').
Name: ColumnType
Type: ColumnType
Default: Boolean
Description: Returns Boolean.
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: IsGlobal
Type: bool
Default: False
Description: Whether the boolean's option set is a global option set (rare for booleans). Determines whether the localization keys live under the global choices.* subtree or the table-scoped tables.{table}.choices.* subtree.
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: RequiredLevel
Type: RequiredLevel
Default: None
Description: The required level of the column (None, SystemRequired, ApplicationRequired, or Recommended).