Controlling layers from your data

Showing or hiding InDesign layers from data

Sometimes the design itself should change from one record to the next – a "SALE" banner on some products, a different badge per region. Controlling InDesign layers from your data lets you switch parts of the design on or off per record.

The idea

Your InDesign layout can hold content on separate layers. With data-driven layer control, a value in your spreadsheet decides whether a given layer is shown or hidden for each record. Same layout, different visible elements, all driven by the data.

What you can do with it

  • Show a "new" or "sale" badge only for records where a column says so.
  • Switch between language or region variants of a design element.
  • Hide an optional block – a disclaimer, a logo, a promo – when it doesn’t apply.

How it fits the merge

You decide, per record, which layers are visible, based on a field’s value. Records that meet the condition get the layer; the rest don’t. Everything else in the layout stays the same, so you’re toggling design elements rather than rebuilding the page.

A note on merge modes

Layer control needs each record rendered as its own document, so it pairs naturally with producing one document per record. If your output puts many records together, plan layer use accordingly.

Next

When your content should flow across pages like text: Layout Flow Mode

Not found what you're looking for?

Layout · Last updated 1 month ago

Copyright ToolboxCode UG