Skip to main content

ppds_metadata_add_column

Adds a new column (attribute) to an existing Dataverse table. Supports all standard column types. Use dry-run to validate before committing.

Input schema

NameTypeRequiredDescription
solutionStringyesUnique name of the solution containing the table.
entityNameStringyesLogical name of the entity to add the column to.
schemaNameStringyesSchema name for the new column.
displayNameStringyesDisplay name of the column.
typeStringyesColumn type: String, Integer, Decimal, Double, Money, Boolean, DateTime, Choice, Choices, Memo, BigInt, Image, File, Lookup.
descriptionStringnoDescription of the column (optional).
maxLengthNullable<Int32>noMaximum length for String/Memo columns (optional).
minValueNullable<Double>noMinimum value for numeric columns (optional).
maxValueNullable<Double>noMaximum value for numeric columns (optional).
precisionNullable<Int32>noPrecision for Decimal, Double, and Money columns (optional).
formatStringnoFormat for String, Integer, or DateTime columns (optional).
dryRunBooleannoIf true, validates without persisting changes.

Output

Returns Task<MetadataAddColumnResult>.