{"title":"POS Layout Field Object Reference","slug":"pos-layout-field-object-reference","url":"https://support.storeconnect.com/articles/pos-layout-field-object-reference","url_markdown":"https://support.storeconnect.com/articles/pos-layout-field-object-reference.md","subtitle":null,"summary":"Defines which Salesforce fields appear on a POS layout and controls their visibility, IndexedDB indexing, and keyword search participation via the Type token system.","type":"Developer_Documentation","video_url":"","keywords":"salesforce, object reference, POS Layout Field, s_c__Pos_Layout_Field__c, api, POS layout field, Pos_Layout_Field__c, field object, s_c__Field_Name__c, s_c__Display_Name__c, s_c__Position__c, s_c__Type__c, POS view, layout field type tokens, Visible, Hidden, Indexed, Searchable, field visibility, keyword search field, IndexedDB, custom field, display name, position order","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Overview\n\nPOS Layout Fields belong to a `Pos_Layout` record and define which Salesforce fields are loaded and rendered in the POS. Each field can optionally point to a `Pos_View` to render a custom Liquid template in place of the raw field value, and its `Type` token string controls whether it is visible, indexed in the browser's IndexedDB, and included in keyword searches.\n\n| Property | Value |\n|----------|-------|\n| **API Name** | `s_c__Pos_Layout_Field__c` |\n| **Label** | POS Layout Field |\n| **Plural Label** | POS Layout Fields |\n| **Type** | Custom Object |\n\n## Fields\n\n| Field Label | API Name | Type | Required | Description |\n|-------------|----------|------|----------|-------------|\n| 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. |\n| Field Name | `s_c__Field_Name__c` | Text(255) | No | Salesforce field API name to display. Must be a valid field on the object associated with the layout. |\n| POS Layout | `s_c__Pos_Layout_Id__c` | Lookup ([s_c__Pos_Layout__c](pos-layout-object-reference)) | No | The Layout to which this field belongs. |\n| POS View | `s_c__Pos_View_Id__c` | Lookup ([s_c__Pos_View__c](pos-view-object-reference)) | No | When set, renders this POS View template in place of the field value. The current record is passed as a drop to the Liquid template. |\n| Position | `s_c__Position__c` | Number(8,0) | No | A number to determine the order of fields on the layout. |\n| Type | `s_c__Type__c` | Picklist | No | Controls visibility, indexing, and searchability of the field. Value is a colon-delimited set of tokens (e.g. `Visible:Indexed:Searchable`). Defaults to `field` (legacy value equivalent to `Visible:Indexed:Searchable`). See [Type tokens](#type-tokens) below. |\n| StoreConnect External ID | `s_c__sC_Id__c` | Text(36) | No | StoreConnect External ID, do not modify in Salesforce |\n\n## Relationships\n\n| Field | Type | Related Object | Relationship Name |\n|-------|------|----------------|-------------------|\n| `s_c__Pos_Layout_Id__c` | Lookup | [s_c__Pos_Layout__c](pos-layout-object-reference) | POS_Layout_Fields_POS_Layout |\n| `s_c__Pos_View_Id__c` | Lookup | [s_c__Pos_View__c](pos-view-object-reference) | POS_Layout_Fields_POS_View |\n\n## Type tokens\n\nThe `Type` field accepts a colon-delimited string of tokens that combine to control how the field behaves in the POS. Tokens are case-insensitive.\n\n| Token | Effect |\n|-------|--------|\n| `Visible` | The field is rendered in the layout. Omitting `Hidden` produces the same effect — explicit use is optional. |\n| `Hidden` | The field is loaded but not displayed. The data is still available for sorting, filtering, Liquid templates, and searches. |\n| `Indexed` | The field is added to the browser's IndexedDB for fast client-side lookups. Only applies to list and grid layouts. |\n| `Searchable` | The field is included in full-text keyword searches. Only applies to list and grid layouts. |\n\nThe legacy value `field` (or a blank value) is equivalent to `Visible:Indexed:Searchable` and remains the default.\n\n**Examples:**\n\n| Value | Behavior |\n|-------|-----------|\n| `field` _(or blank)_ | Visible, indexed, and searchable — the default |\n| `Visible:Indexed:Searchable` | Explicit modern equivalent of `field` |\n| `Visible:Indexed` | Visible and indexed, but excluded from keyword search |\n| `Hidden:Searchable` | Not displayed, but included in keyword search results |\n| `Hidden:Indexed` | Not displayed, but loaded into IndexedDB for filtering |\n\n:::note\n`Indexed` and `Searchable` tokens are ignored on record and form layouts — they only take effect on list and grid layouts.\n:::"}