POS Layout Field Object Reference
On this page
Overview
Determines which fields are shown on a given layout.
| Property | Value |
|---|---|
| API Name | s_c__Pos_Layout_Field__c |
| Label | POS Layout Field |
| Plural Label | POS Layout Fields |
| Type | Custom Object |
Fields
| Field Label | API Name | Type | Required | Description |
|---|---|---|---|---|
| Display Name | s_c__Display_Name__c |
Text(255) | No | Label shown for this field and defaults to the field name in sentence case if left blank. |
| Field Name | s_c__Field_Name__c |
Text(255) | No | API name of the Salesforce field to display, which must exist on the layout’s object. |
| POS Layout | s_c__Pos_Layout_Id__c |
Lookup (s_c__Pos_Layout__c) | No | The Layout to which this field belongs. |
| POS View | s_c__Pos_View_Id__c |
Lookup (s_c__Pos_View__c) | No | Renders this view instead of displaying the value. A record drop is passed to the Liquid. |
| Position | s_c__Position__c |
Number(8,0) | No | A number to determine the order of fields on the layout. |
| Type | s_c__Type__c |
Text(255) | No | Colon-delimited type tokens controlling rendering, indexing, and search. See Type values below. |
| StoreConnect External ID | s_c__sC_Id__c |
Text(36) | No | StoreConnect External ID, do not modify in Salesforce |
Type values
s_c__Type__c accepts a colon-delimited combination of tokens (case-insensitive) that control how the field behaves on list and grid layouts:
| Token | Effect |
|---|---|
Visible |
Field is rendered in the layout. |
Hidden |
Field is loaded but not rendered. Available for sorting, filtering, and Liquid templates without appearing as a column. |
Indexed |
Field is added to the POS IndexedDB index for fast lookups and filtering. |
Searchable |
Field is included in keyword search. |
Combine tokens with : — for example: Visible:Indexed:Searchable, Visible:Indexed, Hidden:Searchable. A blank value is treated as Visible:Indexed:Searchable.
The legacy value field is equivalent to Visible:Indexed:Searchable and remains supported.
Indexed and Searchable only apply on list and grid layouts. On record, form, and other layout types these tokens are ignored.
Relationships
| Field | Type | Related Object | Relationship Name |
|---|---|---|---|
s_c__Pos_Layout_Id__c |
Lookup | s_c__Pos_Layout__c | POS_Layout_Fields_POS_Layout |
s_c__Pos_View_Id__c |
Lookup | s_c__Pos_View__c | POS_Layout_Fields_POS_View |