> For the complete documentation index, see [llms.txt](https://docs.gridmate.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gridmate.io/package-reference/config-samples.md).

# Config Snippets

Copy-paste JSON configurations for record layouts, inline components, calendars and other GridMate components.

Copy-paste configurations for GridMate components. Each snippet names the Lightning App Builder property it goes in; the **Config Wiz** generates most of them for you.

## Record Layout

Property **Record Layout** of [GM - Record Layout](/package-reference/components-library/gm-record-layout.md), [GM - Record Layout (LWC)](/package-reference/components-library/gm-record-layout-lwc.md) and [GM - Enhanced Record Layout](/package-reference/components-library/gm-enhanced-record-layout.md). The same JSON is the `recordLayout` attribute of an inline Record Layout.

| Snippet                                                                                               | Shows                                                       |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| [Layout - basic setup](/package-reference/config-samples/record-layout.md)                            | Sections, columns and rows                                  |
| [Layout with read only field](/package-reference/config-samples/layout-with-read-only-field.md)       | `readOnly` condition on a field                             |
| [Layout with field visibility](/package-reference/config-samples/layout-with-field-visibility.md)     | `visibility` condition on a field, `emptyBlock` placeholder |
| [Layout with section visibility](/package-reference/config-samples/layout-with-section-visibility.md) | `visibility` condition on a section                         |
| [Layout with autocomplete](/package-reference/config-samples/layout-with-autocomplete.md)             | `autocomplete` values on a text field                       |

## Inline Components

Property **Record Related Components** of [GM - RelatedList Grid](/package-reference/components-library/gm-relatedlist-grid.md), [GM - FieldSet Grid](/package-reference/components-library/gm-fieldset-grid.md), [GM - ListView Grid](/package-reference/components-library/gm-listview-grid.md), [GM - Parent RelatedList Grid](/package-reference/components-library/gm-parent-relatedlist-grid.md), GM - Dynamic FieldSet Grid, GM - ListView Kanban, GM - FieldSet Kanban, GM - Flow View Grid, GM - RelatedList Cards, Accordion and Tabs. For [GM - User Grid](/package-reference/components-library/gm-user-grid.md), use **Config. Wiz → Inline Components** ([setup](/advanced-guides/user-grid/user-grid-deployment-process.md#inline-component-setup)).

The configuration contract is on [Grid - Inline Components](/advanced-guides/columns-and-editing/inline-grid-setup.md#configuration); your own components go through [Grid - Custom Inline Component](/advanced-guides/columns-and-editing/grid-custom-inline-component.md).

| Snippet                                                                                       | Component                            |
| --------------------------------------------------------------------------------------------- | ------------------------------------ |
| [Inline RelatedList Grid](/package-reference/config-samples/inline-relatedlist-grid.md)       | `gmpkg:RelatedListDataGridComponent` |
| [Inline FieldSet Grid](/package-reference/config-samples/inline-grids.md)                     | `gmpkg:FieldSetDataGridComponent`    |
| [Inline Record Layout](/package-reference/config-samples/inline-record-layout.md)             | `gmpkg:RecordLayoutComponent`        |
| [Inline Record Layout (LWC)](/package-reference/config-samples/inline-record-layout-lwc.md)   | `gmpkg:RecordLayoutLWCComponent`     |
| [Inline Page Layout](/package-reference/config-samples/inline-page-layout.md)                 | `gmpkg:RecordPageLayoutComponent`    |
| [Inline Record Card](/package-reference/config-samples/inline-record-card.md)                 | `gmpkg:RecordCardComponent`          |
| [Inline File Explorer](/package-reference/config-samples/inline-file-explorer.md)             | `gmpkg:fileExplorerLWC`              |
| [Inline User Grid](/package-reference/config-samples/inline-user-grid.md)                     | `gmpkg:UserDataGridComponent`        |
| [Inline Chatter Feed](/package-reference/config-samples/inline-chatter-feed.md)               | `forceChatter:feed`                  |
| [Multiple Inline Components](/package-reference/config-samples/multiple-inline-components.md) | Record Layout + RelatedList Grid     |

## Calendar

| Snippet                                                                                       | Paste into                                                                                               |
| --------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| [Calendar - Extra Activities](/package-reference/config-samples/calendar-extra-activities.md) | **Extra Activities** of [GM - Multi Calendar](/package-reference/components-library/gm-calendar.md)      |
| [Compact Calendar](/package-reference/config-samples/compact-calendar.md)                     | **Json Config** of [GM - Compact Calendar](/package-reference/components-library/gm-compact-calendar.md) |

## Other Components

| Snippet                                                                     | Paste into                                                                                                                        |
| --------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| [Object Timeline](/package-reference/config-samples/object-timeline.md)     | **Timeline Configuration** of [GM - Object Timeline](/package-reference/components-library/gm-object-timeline.md)                 |
| [Field Path Stages](/package-reference/config-samples/field-path-stages.md) | **Path Stages** of [GM - Field Path](/package-reference/components-library/gm-field-path.md)                                      |
| [Dynamic Tabs](/package-reference/config-samples/dynamic-tabs.md)           | **Tabs Config.** of [GM - Dynamic Tabs](/package-reference/components-library/gm-dynamic-tabs.md) (supports per-tab `visibility`) |
| [Dynamic Accordion](/package-reference/config-samples/dynamic-accordion.md) | **Accordion Config.** of [GM - Dynamic Accordion](/package-reference/components-library/gm-dynamic-accordion.md)                  |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.gridmate.io/package-reference/config-samples.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
