Layer

The Layer node

Lede. Toggles an InDesign layer’s visibility per record, optionally gated by an upstream value or data group.

Group: Layer visibility · Available in: Layer visibility editor · Central node: No

Purpose

  • Show a "Sale" overlay layer only on records flagged for sale.
  • Show a per-language layer (e.g. DE, EN, FR) based on a record column.
  • Hide a layer when a related data group has no rows.

Where to find it

Add Node ▸ Layer ▸ Layer (inside a Layer Visibility editor).

How it works

Pick an InDesign layer in the settings panel. On evaluation the node emits a directive saying "this layer is visible for this record". The Layer Visibility central node collects all such directives across the workspace and applies them to the document during merge.

The optional Data and Data Group inputs gate the directive: an empty Data value or empty data group suppresses the layer for that record.

Sockets

Direction Name What it does What you can connect
Input Data Optional conditional gate. Any text-producing node.
Input Data Group Optional gate – directive suppressed if the data group is empty. Data Group node.
Output Layers The layer-visibility directive. Layer Visibility central node.

Settings

Setting What it does
Layer Pick one of the document’s InDesign layers.

Example (end-to-end)

Scenario. Render a German variant of a flyer by showing only the DE layer.

Wiring.

[Data Text: Language] → [Condition: == "DE"]
                            ├ Success → [Layer: "DE"] → [Layer Visibility]
                            └ Fail    → [Layer: "EN"] → [Layer Visibility]

Empty / error behaviour

  • No layer selected: invalid.
  • Gate empty: layer is suppressed.

Limitations

  • One layer per node. Use multiple nodes (one per layer) for multi-layer visibility.

Common pitfalls

  • All layers visible. The Layer Visibility editor toggles only the layers it knows about. Layers without a Layer node connected stay at their InDesign default visibility.

Screenshots

📷 Screenshot [NEU]: Layer settings panel 📷 Screenshot [NEU]: Layer Visibility editor with several Layer nodes

Not found what you're looking for?

Node Reference · Last updated 3 weeks ago

Copyright ToolboxCode UG