---
title: "CustomCodeBlocks (Webflow)"
description: "Anpassade kodblock"
language: sv
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/sv/datamodels/webflow/Webflow.CustomCode.CustomCodeBlocks
original: https://documentation.invantive.eu/en/datamodels/webflow/Webflow.CustomCode.CustomCodeBlocks
updated: 2026-12-04T03:46:52Z
license: https://documentation.invantive.eu/sv/
---

# CustomCodeBlocks: Webflow Custom Code Blocks

`read only` `REST`

- Katalog: `Webflow`
- Schema: `CustomCode`
- Primärnycklar: `site_id, page_id, script_id`
- Label: Custom Code Blocks

Kan endast hämta data.

## Sammanfattning

The registered scripts applied to the sites and their pages, one row per script. Webflow answers these to an OAuth app only, so a site token reads no rows.

## API-källa

- Slutpunkt: `/sites/{site_id}/custom_code/blocks`

## Prestandakarakteristika

| Egenskap | Värde |
|---|---:|
| Genomsnittlig åtkomstfördröjning (ms) | 285 |
| Antal rader per minut vid fullskanning | 5,800 |

## Tabellkolumner

Tabellens kolumner `CustomCodeBlocks` 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 |
|---|---|---|:---:|---|---|
| `attributes_json` | `varchar2` | JSON-attribut | [ ] | filtreras på plattformen, skrivbar | The attributes of the script element as JSON. |
| `location` | `varchar2` | Plats | [ ] | filtreras på plattformen, skrivbar | header or footer. |
| `page_id` | `varchar2` | Sid-ID | [ ] | filtreras på plattformen, skrivbar | The page the script is applied to; null for the whole site. |
| `script_id` | `varchar2` | Skript-ID | [x] | filtreras på plattformen, skrivbar | The registered script. |
| `site_id` | `varchar2` | Webbplats-ID | [x] | filtreras på plattformen, skrivbar | The site. |
| `version` | `varchar2` | Version | [ ] | filtreras på plattformen, skrivbar | The version of the script applied. |

## Nycklar

| Nyckel | Kolumn | Avser för referens | Typ | Beskrivning |
|---|---|---|---|---|
| `CustomCodeBlocks_script_id_fk` | `script_id` | [RegisteredScripts](Webflow.CustomCode.RegisteredScripts)`.id` | Nyckel |  |
