Skip to main content

create

Create a new column (attribute) on a Dataverse table

Usage​

ppds column create [options]

Options​

LongShortTypeDefaultDescription
--correlation-idstringCorrelation ID for distributed tracing
--date-time-behaviorstringDateTime behavior: UserLocal, DateOnly, or TimeZoneIndependent
--debugboolShow trace-level diagnostic output
--default-valueint?Default value for Choice or Boolean columns
--descriptionstringDescription of the column
--display-namestringDisplay name of the column
--dry-runboolValidate only, do not persist changes
--entity-estringLogical name of the entity to add the column to
--environment-envstringOverride the environment URL. Takes precedence over profile's bound environment.
--false-labelstringLabel for the false value of a Boolean column
--formatstringFormat for String, Integer, or DateTime columns
--max-lengthint?Maximum length for String/Memo columns
--max-size-kbint?Maximum file size in KB for Image/File columns
--max-valuedouble?Maximum value for numeric columns
--min-valuedouble?Minimum value for numeric columns
--namestringSchema name for the new column (e.g., new_MyColumn)
--option-set-namestringName of an existing global option set for Choice/Choices columns
--optionsstringOption definitions for Choice/Choices columns: "Label1=1,Label2=2"
--output-format-fOutputFormatOutput format
--precisionint?Precision for Decimal, Double, and Money columns
--profile-pstringAuthentication profile name
--quiet-qboolShow only warnings and errors
--required-levelstringRequirement level: None, Recommended, or Required
--solution-sstringSolution unique name containing the table
--true-labelstringLabel for the true value of a Boolean column
--typeSchemaColumnTypeColumn type: String, Memo, Integer, BigInt, Decimal, Double, Money, Boolean, DateTime, Choice, Choices, Image, File, Lookup
--verbose-vboolShow detailed output including debug messages