Skip to main content

AttributeMetadataDto

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

Summary

Detailed attribute metadata for entity browsing.

Members

Properties

AttributeOf

string AttributeOf { get; set; }

Gets the parent attribute name for computed/virtual attributes.

AttributeType

string AttributeType { get; set; }

Gets the attribute type (String, Integer, Lookup, etc.).

AttributeTypeName

string AttributeTypeName { get; set; }

Gets the attribute type name for virtual attributes.

AutoNumberFormat

string AutoNumberFormat { get; set; }

Gets the auto-number format pattern for auto-number attributes.

CanBeSecuredForCreate

bool CanBeSecuredForCreate { get; set; }

Gets whether the attribute can be secured for create operations.

CanBeSecuredForRead

bool CanBeSecuredForRead { get; set; }

Gets whether the attribute can be secured for read operations.

CanBeSecuredForUpdate

bool CanBeSecuredForUpdate { get; set; }

Gets whether the attribute can be secured for update operations.

DateTimeBehavior

string DateTimeBehavior { get; set; }

Gets the date time behavior for datetime attributes.

Description

string Description { get; set; }

Gets the description of the attribute.

DisplayName

string DisplayName { get; set; }

Gets the attribute display name.

Format

string Format { get; set; }

Gets the format for datetime attributes.

FormulaDefinition

string FormulaDefinition { get; set; }

Gets the formula definition for calculated fields.

IntroducedVersion

string IntroducedVersion { get; set; }

Gets the version when this attribute was introduced.

IsCustomAttribute

bool IsCustomAttribute { get; set; }

Gets whether this is a custom attribute.

IsFilterable

bool IsFilterable { get; set; }

Gets whether the attribute is filterable.

IsGlobalOptionSet

bool IsGlobalOptionSet { get; set; }

Gets whether this is a global option set.

IsLogical

bool IsLogical { get; set; }

Gets whether this is a logical (non-physical) attribute.

IsManaged

bool IsManaged { get; set; }

Gets whether this attribute is part of a managed solution.

IsPrimaryId

bool IsPrimaryId { get; set; }

Gets whether this attribute is the primary ID.

IsPrimaryName

bool IsPrimaryName { get; set; }

Gets whether this attribute is the primary name.

IsRetrievable

bool IsRetrievable { get; set; }

Gets whether the attribute is retrievable via the API.

IsSearchable

bool IsSearchable { get; set; }

Gets whether the attribute is searchable.

IsSecured

bool IsSecured { get; set; }

Gets whether field-level security is enabled for this attribute.

IsSortable

bool IsSortable { get; set; }

Gets whether the attribute is sortable.

IsValidForCreate

bool IsValidForCreate { get; set; }

Gets whether the attribute is valid for create.

IsValidForForm

bool IsValidForForm { get; set; }

Gets whether the attribute is valid for display on forms.

IsValidForGrid

bool IsValidForGrid { get; set; }

Gets whether the attribute is valid for display in grids.

IsValidForRead

bool IsValidForRead { get; set; }

Gets whether the attribute is valid for read.

IsValidForUpdate

bool IsValidForUpdate { get; set; }

Gets whether the attribute is valid for update.

LogicalName

string LogicalName { get; set; }

Gets the attribute logical name.

MaxLength

Nullable<int> MaxLength { get; set; }

Gets the maximum length for string attributes.

MaxValue

Nullable<decimal> MaxValue { get; set; }

Gets the maximum value for numeric attributes.

MetadataId

Guid MetadataId { get; set; }

Gets the unique metadata identifier.

MinValue

Nullable<decimal> MinValue { get; set; }

Gets the minimum value for numeric attributes.

OptionSetName

string OptionSetName { get; set; }

Gets the option set name for picklist attributes.

Options

List<OptionValueDto> Options { get; set; }

Gets the inline option set values for local picklist attributes.

Precision

Nullable<int> Precision { get; set; }

Gets the precision for decimal/money attributes.

RequiredLevel

string RequiredLevel { get; set; }

Gets the required level (None, Recommended, ApplicationRequired, SystemRequired).

SchemaName

string SchemaName { get; set; }

Gets the attribute schema name.

SourceType

Nullable<int> SourceType { get; set; }

Gets the source type (0=Simple, 1=Calculated, 2=Rollup).

Targets

List<string> Targets { get; set; }

Gets the lookup targets for lookup attributes (pipe-delimited for polymorphic).