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
| Name | Type | Required | Description |
|---|---|---|---|
| solution | String | yes | Unique name of the solution containing the table. |
| entityName | String | yes | Logical name of the entity to add the column to. |
| schemaName | String | yes | Schema name for the new column. |
| displayName | String | yes | Display name of the column. |
| type | String | yes | Column type: String, Integer, Decimal, Double, Money, Boolean, DateTime, Choice, Choices, Memo, BigInt, Image, File, Lookup. |
| description | String | no | Description of the column (optional). |
| maxLength | Nullable<Int32> | no | Maximum length for String/Memo columns (optional). |
| minValue | Nullable<Double> | no | Minimum value for numeric columns (optional). |
| maxValue | Nullable<Double> | no | Maximum value for numeric columns (optional). |
| precision | Nullable<Int32> | no | Precision for Decimal, Double, and Money columns (optional). |
| format | String | no | Format for String, Integer, or DateTime columns (optional). |
| dryRun | Boolean | no | If true, validates without persisting changes. |
Output
Returns Task<MetadataAddColumnResult>.