s_c__Trait_Value__c Object Reference

Name s_c__Trait_Value__c
Type Custom StoreConnect Object
Description A specific value for a Trait_Type__c. For example, for a "Colour" Trait Type, the Trait Value would be "Red" or "Blue". These are stored individually so they can be used across multiple Product2 objects via the Trait__c object allowing for easy filtering and searching. The values are stored in different fields depending on their Trait Type - a "Decimal" Trait Type would store value on the Decimal__c field.

Field Definitions

Field Name Type Required Unique
s_c__Checkbox__c Checkbox(false) No No
Contains value for Checkbox Trait Types. Value could be true or false.
s_c__Currency__c Currency(18, 2) No No
Contains value for Currency Trait Types.
s_c__Date__c Date No No
Contains value for Date Trait Types.
s_c__Decimal__c Number(18, 6) No No
Contains value for Decimal Trait Types.
s_c__Display_Name__c Text Yes No
Name of the Trait Value to be displayed to the user. This is autogenerated from the Trait Category, Trait Type, and Trait Value, but can be overwritten as desired.
s_c__Email__c Email No No
Contains value for Email Trait Types.
s_c__Long_Text_Area_Markdown__c LongTextArea No No
Contains value for Long Text Trait Types. It could contain either plain text, markdown or HTML.
s_c__Number__c Number(18, 0) No No
Contains value for Number Trait Types.
s_c__Percent__c Percent(18, 2) No No
Contains value for Percent Trait Types.
s_c__Text__c Text No No
Contains value for Text Trait Types. It could contain short text below 255 characters. Anything longer should be placed to Long_Text_Area_Markdown__c instead.
s_c__Trait_Type_Id__c Lookup (s_c__Trait_Type__c) Yes No
Trait Type this trait belongs to.
s_c__URL__c URL No No
Contains value for URL Trait Types.
s_c__sC_Id__c Text [External ID] No Yes
StoreConnect External ID, do not modify in Salesforce

For more information about how or when to use the above, see our documentation.

 

 
Back to Documentation