Skip to content

Event scoped templates

Event Scoped Templates allow your digital sign to display information from all rooms in the event simultaneously. Unlike standard room templates, which only know about one specific room's schedule, these templates have a Data Scope that accesses the entire event's data.

This is the perfect solution for:

  • Overview Screens in lobbies or reception areas.
  • Conference Programs showing a timeline of all sessions across all tracks.
  • "Now Playing" Dashboards showing the current status of every breakout room.
  • Wayfinding Screens directing attendees to their next session.

A template becomes Event Scoped as soon as it uses one of the three containers on this page. It cannot also use the room-scoped containers (data-upcoming-items, data-daily-schedule); such an upload is refused.

Assignment rules

  1. Virtual Rooms ONLY: Event Scoped Templates must be assigned as the Content Template of a Virtual Room.
  2. Physical Rooms Cannot Use Them: You cannot assign an Event Scoped Template to a physical room, neither as its Content Template nor as its Gap Template. A physical room only has access to its own schedule.
  3. No Static, Current Item, or Room Scoped Templates on Virtual Rooms: Virtual rooms are strict aggregators. They cannot be assigned Static Templates, Current Item Templates, or Room Scoped Templates. They also cannot have Gap Templates assigned at all.

Rooms, virtual rooms and source rooms

A physical room has its own schedule; a virtual room has none and exists to host an Event Scoped Template. Creating a virtual room, choosing which physical rooms feed it (Source Rooms, disabled rooms included) and which rooms count as billable active signs are covered on Virtual rooms and source rooms. While working on a template, the editor's preview toolbar has the same Source rooms picker (shown when Real event data is on): pick any set of physical rooms and the preview renders with exactly those — nothing is saved.

Room grid: data-event-rooms

Renders a template once per source room — a card per room with what is on now:

<div class="room-grid" data-event-rooms data-template-id="room-card"></div>

<template id="room-card">
  <div class="room-card">
    <h2 data-field="room.title"></h2>
    <div class="status-box">
      <span class="label">Current session:</span>
      <strong data-field="current_item.title"></strong>
      <span data-condition="current_item.isGap === true" class="free-badge">Room available</span>
    </div>
  </div>
</template>

Inside the data-event-rooms template, the context object has two top-level keys: room (the room object) and current_item (the active scheduled item or gap). Room properties are accessed via the room.* prefix. Current item properties are accessed via current_item.*.

Field Description
room.title, room.displayTitle, room.id The room's title, its display title override (may be null), and its internal ID
current_item.isGap true while the room is between sessions
current_item.title The current session's title; undefined during a gap
current_item.time_start, current_item.time_end The current session's times as strings (2025-08-07 09:00:00), for luxon-field
current_item.start_time The raw start timestamp (epoch ms)
current_item.<field> Any field of the current item's JSON data — current_item.speaker; current_item.data.speaker also works

The grid always renders every source room of the virtual room, in the room order of the event: it has no scope or limit of its own (data-scope and data-limit on this container pass upload validation but are ignored). To show fewer rooms, change the virtual room's Source Rooms, or hide cards with data-condition.

Master timeline: data-event-timeline

Use the data-event-timeline attribute to display a chronological list of scheduled items from all rooms mixed together. This is ideal for "What's Next" screens or full conference schedules.

<div class="timeline" data-event-timeline data-scope="upcoming" data-limit="10"
     data-template-id="timeline-row"></div>

<template id="timeline-row">
  <div class="session-row">
    <span class="time" data-field="start_time_24h"></span>
    <h3 data-field="title"></h3>
    <div class="room-tag" data-field="room"></div>
  </div>
</template>
Attribute Values Default Description
data-scope today, tomorrow, upcoming, upcoming-today, all today today: every item of the current day. tomorrow: every item of the next day. upcoming: items that have not ended yet. upcoming-today: items that have not ended yet and start today. all: everything
data-limit a number all Caps the number of rows — "next five sessions"

Day boundaries are evaluated in the event's time zone, not the sign's. After midnight tomorrow means the day after the new current day and today follows the sign into the new day.

Inside the row the context is the item's data object, so fields are used without a prefix: title, room, external_id (absent on gaps), the raw time_start / time_end, the ready-formatted times such as start_time_24h and end_time_ampm, and every custom field (speaker, track, …). Do not write data.speaker — the row's context is already the data.

Room columns: data-room-schedule

Nest a data-room-schedule container inside a room-grid template to list that room's sessions — a "TV guide" with one column per room:

<div class="columns-wrapper" data-event-rooms data-template-id="column-template"></div>

<template id="column-template">
  <div class="room-column">
    <div class="room-header"><h2 data-field="room.title"></h2></div>
    <div class="room-agenda" data-room-schedule data-scope="today"
         data-template-id="item-card"></div>
  </div>
</template>

<template id="item-card">
  <div class="session-card">
    <span class="time" data-field="start_time_24h"></span>
    <strong data-field="title"></strong>
  </div>
</template>

This example creates a column for each room, listing only that room's sessions for today.

data-room-schedule takes the same data-scope values as the master timeline, applied to the one room the surrounding card renders; data-scope="tomorrow" turns the layout into a next-day board. It has no data-limit — a limit written here is ignored, so size the column for a full day or narrow the rows with data-condition. On its own, outside a data-event-rooms template, the container renders nothing: it takes its room from the surrounding card. Its rows use the item context, like timeline rows.

Binding inside the containers

All binding attributes work inside the three containers; only the context differs — room.* and current_item.* in a room card, bare field names in timeline and room-schedule rows. Helper <template>s may sit inside a repeated block and are found before document-level ones (see the Data binding reference).

<!-- room card -->
<img data-field="current_item.imageUrl" data-attribute="src" alt="Session" />
<div data-condition="current_item.isGap === true">Free time</div>

<!-- timeline / room-schedule row -->
<img data-field="speaker_photo" data-attribute="src" alt="Speaker" />
<div data-condition="speaker">Speaker: <span data-field="speaker"></span></div>

Use the same field path in data-field and data-condition: data-field walks the path on the context object, data-condition evaluates an expression with the context's properties in scope, so current_item.isGap === true works in a card and speaker in a row.

Bindings go on the rows, not on the container

A data-field, data-html or luxon-field on the data-event-rooms, data-event-timeline or data-room-schedule element itself is ignored — its children belong to the list renderer, and writing a value there would replace every row. The player logs Ignoring a content-writing binding authored on a list container once and leaves the rows alone. A data-condition on the container still works (it only toggles visibility), as does a single-value data-field paired with data-attribute. Put content bindings in the row <template>.

Time formatting. start-time-format / end-time-format work inside timeline and room-schedule rows (the row's own item); in a room card use luxon-field="current_item.time_start" luxon-format="h:mm a". Formats, tokens and locales are on Time formatting.

Root-level event data

Outside the containers, the page binds to the event itself:

<header>
  <h1 data-field="eventTitle"></h1>
  <p>Time zone: <span data-field="eventTimeZone"></span></p>
</header>

Filtering rows

A timeline lists everything its scope allows; data-condition on the row's root element trims it by any field. Two containers reading the same scope can split one program into a highlight and a list — here by a type and a track_1 field the source provides:

<div data-event-timeline data-scope="upcoming-today" data-template-id="lab-row"></div>
<template id="lab-row">
  <article data-condition="type === 'Arsenal' && track_1 === 'Arsenal Lab'">
    <h3 data-field="title"></h3><span data-field="room"></span>
  </article>
</template>

<div data-event-timeline data-scope="upcoming-today" data-template-id="list-row"></div>
<template id="list-row">
  <article data-condition="type === 'Arsenal' && track_1 !== 'Arsenal Lab'">
    <h4 data-field="title"></h4><span data-field="room"></span>
  </article>
</template>

Rows whose condition is false are hidden, not removed, so a data-limit still counts them; leave the limit off when filtering and size the container instead.

Two complete templates built on this pattern — a landscape overview and a portrait variant that regroups the rows by time in script.js — are on Example templates.

JavaScript in event scoped templates

The player re-applies the template and re-renders the lists as data changes, so timers and listeners must go through the lifecycle hooks — preseriaTemplateInit(ctx), the ctx.* helpers and the preseria-content-updated event that only the event-scoped runtime dispatches. The reference, the recommended pattern for paging and the common mistakes are on Template JavaScript best practices.