---
title: "CollectionFields (Webflow)"
description: "Samlingsf\u00E4lt"
language: sv
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/sv/datamodels/webflow/Webflow.Cms.CollectionFields
original: https://documentation.invantive.eu/en/datamodels/webflow/Webflow.Cms.CollectionFields
updated: 2026-12-04T06:51:12Z
license: https://documentation.invantive.eu/sv/
---

# CollectionFields: Webflow Collection Fields

`insert` `delete` `REST`

- Katalog: `Webflow`
- Schema: `Cms`
- Primärnycklar: `collection_id, field_id`
- Label: Collection Fields

Man kan hämta och ändra data med hjälp av `insert` och `delete`.

## Sammanfattning

The fields of the CMS collections, one request per collection. A field is a column of the table of its collection, named after its slug. An insert adds a field of a simple type; a delete removes it with its values.

## API-källa

- Slutpunkt: `/collections/{collection_id}`

## Prestandakarakteristika

| Egenskap | Värde |
|---|---:|
| Genomsnittlig åtkomstfördröjning (ms) | 314 |
| Antal rader per minut vid fullskanning | 58 |
| Skriv rader per minut | 58 |

## Tabellkolumner

Tabellens kolumner `CollectionFields` visas nedan. Varje kolumn har en SQL-datatyp. Ett nytt värde som inte är null måste alltid anges för varje obligatorisk kolumn vid insättning och uppdatering.

| Namn | Datatyp | Etikett | Nödvändigt | Betyg | Dokumentation |
|---|---|---|:---:|---|---|
| `collection_id` | `varchar2` | Samlings-ID | [x] | filtreras på plattformen, skrivbar | The collection. |
| `display_name` | `varchar2` | Visningsnamn | [x] | filtreras på plattformen, skrivbar | The name of the field in the Designer. |
| `field_id` | `varchar2` | Fält-ID | [x] | filtreras på plattformen, skrivbar | Fältets id. |
| `help_text` | `varchar2` | Hjälptext | [ ] | filtreras på plattformen, skrivbar | The help text shown to an editor. |
| `is_editable` | `char` | Redigerbar | [ ] | filtreras på plattformen, skrivbar | Whether the value can be changed. |
| `is_required` | `char` | Nödvändigt | [ ] | filtreras på plattformen, skrivbar | Whether an item needs a value. |
| `referenced_collection_id` | `varchar2` | Referens-ID för samlingen | [ ] | filtreras på plattformen, skrivbar | For a Reference or MultiReference field: the collection it refers to.Required on the insert of such a field. |
| `site_id` | `varchar2` | Webbplats-ID | [x] | filtreras på plattformen, skrivbar | The site. |
| `slug` | `varchar2` | Snigel | [x] | filtreras på plattformen, skrivbar | The slug of the field: its key in the field data, and the name of its column. |
| `type` | `varchar2` | Typ | [x] | filtreras på plattformen, skrivbar | The type, such as PlainText, RichText, Number, Switch, DateTime, Image, Option, Reference or MultiReference. |
| `validations_json` | `varchar2` | Valideringar (JSON) | [ ] | filtreras på plattformen, skrivbar | The validations of the field as JSON, such as the maximum length or the options.On the insert of an Option field it carries the choices, such as {"options":[{"name":"News"}]}.The format of a Number field can not be set: Webflow makes it integer, and a decimal one is made in the Designer. |

## Nycklar

| Nyckel | Kolumn | Avser för referens | Typ | Beskrivning |
|---|---|---|---|---|
| `CollectionFields_collection_id_fk` | `collection_id` | [Collections](Webflow.Cms.Collections)`.id` | Nyckel |  |

## Refereras till av

- [CollectionFieldOptions](Webflow.Cms.CollectionFieldOptions) `collection_id` (Key)
- [CollectionFieldOptions](Webflow.Cms.CollectionFieldOptions) `field_id` (Key)
