AttributeDefinition
Represents a product, asset, or object attribute, for example, a hardware specification or software detail. This object is available in API version 60.0 and later.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
- Type: string
- Properties: Create, Filter, Group, idLookup, Nillable, Sort, Update
- Description: Code for the attribute definition. This field is unique within your organization.
- Type: picklist
- Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: Available only if the multicurrency feature is enabled. Contains the ISO code for any currency allowed by the organization. Possible values are
BHD—Bahraini Dinar,JPY—Japanese Yen, orUSD—U.S. Dollar. The default value isUSD.
- Type: picklist
- Properties: Create, Filter, Group, Restricted picklist, Sort
- Description: The data type of the attribute definition. Possible values are
Checkbox,Currency,Date,Datetime,Multipicklist,Number,Percent,Picklist, orText.
- Type: textarea
- Properties: Create, Nillable, Update
- Description: The default help text for this attribute.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The default value for this attribute.
- Type: textarea
- Properties: Create, Nillable, Update
- Description: Description of this attribute.
- Type: string
- Properties: Create, Filter, Group, Sort
- Description: The unique name of the attribute definition record. This name must begin with a letter and use only alphanumeric characters and underscores. It can’t include spaces, end with an underscore, or have two consecutive underscores.
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates that the attribute definition is active. Active attributes definitions can be selected for products. The default value is
false.
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates whether the attribute definition is required for a product. The default value is
false.
- Type: string
- Properties: Create, Filter, Group, Sort, Update
- Description: The label for the attribute.
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The date the attribute definition was last referenced.
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The date the attribute definition was last viewed.
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
- Description: The name of the attribute.
- Type: reference
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: The owner of the attribute definition. This field is a polymorphic relationship field.
- Relationship Name: Owner
- Relationship Type: Lookup
- Refers To: Group, User
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort
- Description: The ID of the attribute picklist with the valid values for this attribute. This field is a relationship field.
- Relationship Name: Picklist
- Relationship Type: Lookup
- Refers To: AttributePicklist
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The identifier of the attribute definition in an external system.
- Type: textarea
- Properties: Create, Nillable, Update
- Description: The default value description for this attribute.
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.
AttributeDefinitionFeed: Feed tracking is available for the object.
AttributeDefinitionHistory: History is available for tracked fields of the object.
AttributeDefinitionShare: Sharing is available for the object.