Trait Object Reference
On this page
Overview
Traits provide the join between a specific Trait_Value__c, Trait_Type__c and Trait_Category__c and a Product2 object.
| Property | Value |
|---|---|
| API Name | s_c__Trait__c |
| Label | Trait |
| Plural Label | Traits |
| Type | Custom Object |
Fields
| Field Label | API Name | Type | Required | Description |
|---|---|---|---|---|
| Description | s_c__Description__c |
TextArea | No | Description of the trait. |
| Display Name | s_c__Display_Name__c |
Text(255) | Yes | Name of the trait to be displayed to the user. This is autogenerated from the Trait Category, Trait Type, and Trait Value, but can be overwritten as desired. |
| Product | s_c__Product_Id__c |
Lookup (Product2) | No | Product where the trait belongs to. |
| Trait Category | s_c__Trait_Category_Id__c |
Lookup (s_c__Trait_Category__c) | Yes | Category of this trait. For example, colour or size. |
| Trait Type | s_c__Trait_Type_Id__c |
Lookup (s_c__Trait_Type__c) | Yes | Type of this trait. For example, text or number. |
| Trait Value | s_c__Trait_Value_Id__c |
Lookup (s_c__Trait_Value__c) | Yes | Value of this trait. For example, red, or 14. |
| StoreConnect External ID | s_c__sC_Id__c |
Text(36) | No | StoreConnect External ID, do not modify in Salesforce |
Relationships
| Field | Type | Related Object | Relationship Name |
|---|---|---|---|
s_c__Product_Id__c |
Lookup | Product2 | Traits |
s_c__Trait_Category_Id__c |
Lookup | s_c__Trait_Category__c | Traits |
s_c__Trait_Type_Id__c |
Lookup | s_c__Trait_Type__c | Traits |
s_c__Trait_Value_Id__c |
Lookup | s_c__Trait_Value__c | Traits |