# CatalogLinkCell

> Type in domain **Catalogs**

- HTML: [CatalogLinkCell.html](CatalogLinkCell.html)
- Raw SDL: [CatalogLinkCell.sdl](CatalogLinkCell.sdl)
- Covered by: [llms.txt](../llms.txt)

Implements: `CatalogCell`

## Fields

- `column`: `CatalogColumn!` _(beta)_ — `CatalogColumn` of the `CatalogCell`.
- `row`: `CatalogRow!` _(beta)_ — `CatalogRow` of the `CatalogCell`.
- `links`: `[CatalogLinkCellValue!]!` _(beta)_ — Linked target rows and their display values for this link cell.

## Reach via

Example queries that can return this type from the root `Query`.

### `catalog › cellsByPrimaryKey`

```graphql
query CatalogCellsByPrimaryKey {
  catalog(id: "…") {
    cellsByPrimaryKey(primaryKey: "…", columnIds: "…") {
      ... on CatalogLinkCell {
        __typename
        column {
          __typename
          name
          id
          position
        }
        links {
          displayValue
          row {
            id
            position
            catalog { id }
          }
        }
        row {
          id
          position
          catalog {
            name
            id
            createdAt
            updatedAt
            columns {
              total
              page
              limit
              hasNextPage
              items { id }
            }
            primaryColumn { id }
          }
        }
      }
    }
  }
}
```

Raw: [`CatalogCellsByPrimaryKey-CatalogLinkCell.sdl`](../examples/CatalogCellsByPrimaryKey-CatalogLinkCell.sdl)

### `catalog › searchCells`

```graphql
query CatalogSearchCells {
  catalog(id: "…") {
    searchCells(query: "…", columnIds: "…") {
      ... on CatalogLinkCell {
        __typename
        column {
          __typename
          name
          id
          position
        }
        links {
          displayValue
          row {
            id
            position
            catalog { id }
          }
        }
        row {
          id
          position
          catalog {
            name
            id
            createdAt
            updatedAt
            columns {
              total
              page
              limit
              hasNextPage
              items { id }
            }
            primaryColumn { id }
          }
        }
      }
    }
  }
}
```

Raw: [`CatalogSearchCells-CatalogLinkCell.sdl`](../examples/CatalogSearchCells-CatalogLinkCell.sdl)

### `account › catalogs › cellsByPrimaryKey`

```graphql
query AccountCatalogsCellsByPrimaryKey {
  account {
    catalogs(limit: 25, page: 1) {
      items {
        cellsByPrimaryKey(primaryKey: "…", columnIds: "…") {
          ... on CatalogLinkCell {
            __typename
            column {
              __typename
              name
              id
              position
            }
            links {
              displayValue
              row {
                id
                position
                catalog { id }
              }
            }
            row {
              id
              position
              catalog {
                name
                id
                createdAt
                updatedAt
                columns {
                  total
                  page
                  limit
                  hasNextPage
                  items { id }
                }
                primaryColumn { id }
              }
            }
          }
        }
      }
    }
  }
}
```

Raw: [`AccountCatalogsCellsByPrimaryKey-CatalogLinkCell.sdl`](../examples/AccountCatalogsCellsByPrimaryKey-CatalogLinkCell.sdl)

### `account › catalogs › searchCells`

```graphql
query AccountCatalogsSearchCells {
  account {
    catalogs(limit: 25, page: 1) {
      items {
        searchCells(query: "…", columnIds: "…") {
          ... on CatalogLinkCell {
            __typename
            column {
              __typename
              name
              id
              position
            }
            links {
              displayValue
              row {
                id
                position
                catalog { id }
              }
            }
            row {
              id
              position
              catalog {
                name
                id
                createdAt
                updatedAt
                columns {
                  total
                  page
                  limit
                  hasNextPage
                  items { id }
                }
                primaryColumn { id }
              }
            }
          }
        }
      }
    }
  }
}
```

Raw: [`AccountCatalogsSearchCells-CatalogLinkCell.sdl`](../examples/AccountCatalogsSearchCells-CatalogLinkCell.sdl)

### `catalogSelection › entries › row › cells`

```graphql
query CatalogSelectionEntriesRowCells {
  catalogSelection(id: "…") {
    entries {
      row {
        cells(columnIds: "…") {
          ... on CatalogLinkCell {
            __typename
            column {
              __typename
              name
              id
              position
            }
            links {
              displayValue
              row {
                id
                position
                catalog { id }
              }
            }
            row {
              id
              position
              catalog {
                name
                id
                createdAt
                updatedAt
                columns {
                  total
                  page
                  limit
                  hasNextPage
                  items { id }
                }
                primaryColumn { id }
              }
            }
          }
        }
      }
    }
  }
}
```

Raw: [`CatalogSelectionEntriesRowCells-CatalogLinkCell.sdl`](../examples/CatalogSelectionEntriesRowCells-CatalogLinkCell.sdl)

### `brand › customMetadataProperties › type › catalog › cellsByPrimaryKey`

```graphql
query BrandCustomMetadataPropertiesTypeCatalogCellsByPrimaryKey {
  brand(id: "…") {
    customMetadataProperties {
      type {
        ... on CustomMetadataPropertyTypeCatalog {
          catalog {
            cellsByPrimaryKey(primaryKey: "…", columnIds: "…") {
              ... on CatalogLinkCell {
                __typename
                column {
                  __typename
                  name
                  id
                  position
                }
                links {
                  displayValue
                  row {
                    id
                    position
                    catalog { id }
                  }
                }
                row {
                  id
                  position
                  catalog {
                    name
                    id
                    createdAt
                    updatedAt
                    columns {
                      total
                      page
                      limit
                      hasNextPage
                      items { id }
                    }
                    primaryColumn { id }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
```

Raw: [`BrandCustomMetadataPropertiesTypeCatalogCellsByPrimaryKey-CatalogLinkCell.sdl`](../examples/BrandCustomMetadataPropertiesTypeCatalogCellsByPrimaryKey-CatalogLinkCell.sdl)
