pacx column add integer - neronotte/Greg.Xrm.Command GitHub Wiki
Creates an integer column.
Aliases
pacx column add int
pacx column add wholenumber
Usage
# Creates a simple integer column
pacx column create --type Integer -t tableName -n columnName
# Set minimum and maximum values
pacx column create --type Integer -t tableName -n columnName --min 0 --max 100
# Specify integer format (None, Duration, TimeZone, Language, Locale)
pacx column create --type Integer -t tableName -n columnName --intFormat Duration
Arguments
| Long Name | Short Name | Required? | Description | Default value | Valid values |
|---|---|---|---|---|---|
table |
t |
Y | The name of the entity for which you want to create an attribute | - | String |
name |
n |
Y | The display name of the attribute. | - | String |
schemaName |
sn |
N | The schema name of the attribute. If not specified, is deducted from the display name | - | String |
description |
d |
N | The description of the attribute. | - | String |
requiredLevel |
r |
N | The required level of the attribute. | - | None, SystemRequired, ApplicationRequired, Recommended |
min |
min |
N | For number type columns indicates the minimum value for the column. | - | Double |
max |
max |
N | For number type columns indicates the maximum value for the column. | - | Double |
intFormat |
if |
N | For whole number type columns indicates the integer format for the column.(default: None) | - | None, Duration, TimeZone, Language, Locale |
imeMode |
ime |
N | Indicates the input method editor (IME) mode for the column. | Disabled |
Auto, Inactive, Active, Disabled |
audit |
a |
N | Indicates whether the attribute is enabled for auditing (default: true). | - | true, false |
solution |
s |
N | The name of the unmanaged solution to which you want to add this attribute. | - | String |