AttributePicklist
Represents a custom picklist for an asset attribute.
Introduced in API version 57.0.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
- Field Service must be enabled.
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Description:
The data type of this picklist.
The default value is
Boolean. -
Possible values:
- Boolean — Boolean (default)
- Currency — Currency
- Date — Date
- Datetime — Datetime
- Number — Number
- Percent — Percent
- Text — Text
-
Default value: Boolean
- Type: textarea
- Properties: Create, Nillable, Update
- Description: A description of the picklist. Maximum size is 32000 alphanumeric characters. Can include the following special characters: @! - < > * ? + = % # ( ) / \ & ‘ £ € $ ”.
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
- Description: The name of the picklist. Names must be unique.
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Description:
The status of the attribute picklist.
The default value is
Draft. -
Possible values:
- Active — Active
- Draft — Draft (default)
- Inactive — Inactive
-
Default value: Draft
The AttributePicklist object is the parent object and the AttributePicklistValue object contains the picklist values. Let’s say you need an asset attribute to track the T-shirt size, which can be small, medium, or large. Create an AttributePicklist parent record as a Text type for the T-shirt size attribute. Then create AttributePicklistValue records, one for each picklist value small, medium, and large, and associate them with the parent record.
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.