Skip to main content

CreateColumnRequest

  • Namespace: PPDS.Dataverse.Metadata.Authoring
  • Assembly: PPDS.Dataverse
  • Kind: Class

Summary​

Request to create a new column (attribute) on a Dataverse table.

Members​

Properties​

AutoNumberFormat​

string AutoNumberFormat { get; set; }

Gets or sets the auto-number format string for auto-number columns (String type).

CanStoreFullImage​

Nullable<bool> CanStoreFullImage { get; set; }

Gets or sets whether the Image column can store the full-size image.

ColumnType​

SchemaColumnType ColumnType { get; set; }

Gets or sets the column type.

DateTimeBehavior​

string DateTimeBehavior { get; set; }

Gets or sets the date/time behavior. Valid values: "UserLocal", "DateOnly", "TimeZoneIndependent".

DefaultValue​

Nullable<int> DefaultValue { get; set; }

Gets or sets the default value for Choice or Boolean columns.

Description​

string Description { get; set; }

Gets or sets the description of the column.

DisplayName​

string DisplayName { get; set; }

Gets or sets the display name of the column.

DryRun​

bool DryRun { get; set; }

Gets or sets whether this is a dry-run (validation only, no changes persisted).

EntityLogicalName​

string EntityLogicalName { get; set; }

Gets or sets the logical name of the entity to add the column to.

FalseLabel​

string FalseLabel { get; set; }

Gets or sets the label for the false value of a Boolean column.

Format​

string Format { get; set; }

Gets or sets the format for String, Integer, or DateTime columns.

ImeMode​

string ImeMode { get; set; }

Gets or sets the IME mode for Money columns.

IsAuditEnabled​

Nullable<bool> IsAuditEnabled { get; set; }

Gets or sets whether auditing is enabled for the column.

IsSecured​

Nullable<bool> IsSecured { get; set; }

Gets or sets whether the column is secured (field-level security).

IsValidForAdvancedFind​

Nullable<bool> IsValidForAdvancedFind { get; set; }

Gets or sets whether the column is valid for Advanced Find.

MaxLength​

Nullable<int> MaxLength { get; set; }

Gets or sets the maximum length for String/Memo columns.

MaxSizeInKB​

Nullable<int> MaxSizeInKB { get; set; }

Gets or sets the maximum file size in KB for Image/File columns.

MaxValue​

Nullable<double> MaxValue { get; set; }

Gets or sets the maximum value for Integer, Decimal, Double, and Money columns.

MinValue​

Nullable<double> MinValue { get; set; }

Gets or sets the minimum value for Integer, Decimal, Double, and Money columns.

OptionSetName​

string OptionSetName { get; set; }

Gets or sets the name of an existing global option set for Choice/Choices columns.

Options​

OptionDefinition[] Options { get; set; }

Gets or sets the local option definitions for new Choice/Choices columns.

Precision​

Nullable<int> Precision { get; set; }

Gets or sets the precision for Decimal, Double, and Money columns.

Publish​

bool Publish { get; set; }

Gets or sets whether to publish the entity after the column is created (#1161).

RequiredLevel​

string RequiredLevel { get; set; }

Gets or sets the requirement level. Valid values: "None", "Recommended", "Required".

SchemaName​

string SchemaName { get; set; }

Gets or sets the schema name for the new column.

SolutionUniqueName​

string SolutionUniqueName { get; set; }

Gets or sets the unique name of the solution containing the table.

TrueLabel​

string TrueLabel { get; set; }

Gets or sets the label for the true value of a Boolean column.