create
Create a new column (attribute) on a Dataverse table
Usage
ppds column create [options]
Options
| Long | Short | Type | Default | Description |
|---|---|---|---|---|
--correlation-id | string | Correlation ID for distributed tracing | ||
--date-time-behavior | string | DateTime behavior: UserLocal, DateOnly, or TimeZoneIndependent | ||
--debug | bool | Show trace-level diagnostic output | ||
--default-value | int? | Default value for Choice or Boolean columns | ||
--description | string | Description of the column | ||
--display-name | string | Display name of the column | ||
--dry-run | bool | Validate only, do not persist changes | ||
--entity | -e | string | Logical name of the entity to add the column to | |
--environment | -env | string | Override the environment URL. Takes precedence over profile's bound environment. | |
--false-label | string | Label for the false value of a Boolean column | ||
--format | string | Format for String, Integer, or DateTime columns | ||
--max-length | int? | Maximum length for String/Memo columns | ||
--max-size-kb | int? | Maximum file size in KB for Image/File columns | ||
--max-value | double? | Maximum value for numeric columns | ||
--min-value | double? | Minimum value for numeric columns | ||
--name | string | Schema name for the new column (e.g., new_MyColumn) | ||
--option-set-name | string | Name of an existing global option set for Choice/Choices columns | ||
--options | string | Option definitions for Choice/Choices columns: "Label1=1,Label2=2" | ||
--output-format | -f | OutputFormat | Output format | |
--precision | int? | Precision for Decimal, Double, and Money columns | ||
--profile | -p | string | Authentication profile name | |
--quiet | -q | bool | Show only warnings and errors | |
--required-level | string | Requirement level: None, Recommended, or Required | ||
--solution | -s | string | Solution unique name containing the table | |
--true-label | string | Label for the true value of a Boolean column | ||
--type | SchemaColumnType | Column type: String, Memo, Integer, BigInt, Decimal, Double, Money, Boolean, DateTime, Choice, Choices, Image, File, Lookup | ||
--verbose | -v | bool | Show detailed output including debug messages |