Binding an object to data
A binding connects one property of an object — its text, picture, color or visibility — to a field in one of the project's data schemas. At render time the value comes from the dataset that the production layer supplies.
When to bind
- The same template should render many different values (player names, scores, captions).
- Operators will change the value live without editing the template.
- The value comes from an imported data source (Excel, CSV).
Steps
- Select an object on the design area.
- Open the Data tab in the properties panel.
- Under Data Binding, click the button next to the property you want to bind (it says None while unbound).
- In Bind to data field, search or scroll, then click a field. Fields are grouped by schema.
The button now shows Schema → Field. The change is saved automatically.
Only fields of a matching type are offered. If the project has no field of a type a property needs, the button reads Requires … field, with an Add a field link to the project's data schemas. If the project has no schemas at all, the panel says No data schemas defined for this project.
Unbinding
Click the × on the binding button (Clear binding). The object falls back to its own value — the text you typed, the uploaded image, the color you picked.
What can be bound
| Object | Bindable properties |
|---|---|
| Text | Text content, Text color, Background, Border color, Visibility |
| Rectangle | Background, Border color, Visibility |
| Image | Image source, Background, Border color, Visibility |
| Icon | Icon name, Icon color, Background, Border color, Visibility |
| Video | Video source, Background, Border color, Visibility |
| Countdown | Duration (sec), Target time, Completed text, Text color, Background, Visibility |
| Crawl | Crawl text, Text color, Background, Visibility |
| Group | Show only when field has a value |
Every object type also has Show only when field has a value.
Field types per property:
- Text content, Crawl text — Text, Number or Dropdown.
- Image source — Image.
- Icon name — Text or Dropdown.
- Video source, Target time, Completed text — Text.
- Duration (sec) — Number.
- Colors (Text color, Background, Border color, Icon color) — Color.
- Visibility — Boolean: the object is shown when the value is true and invisible when it is false.
Empty values
Under Empty data, Hide object when value is empty (on by default) hides a text, image or icon completely — background and border included — when its bound text, image or icon name is empty. On the design area such objects are shown dimmed so you can still work with them.
To show or hide objects based on other values, see Conditional styling and visibility.
In the editor
Without preview data, bound text shows a placeholder such as {{player.name}}. Pick a dataset under Data Preview to see real values. See Previewing bound values.
Template Settings: Data Transition
Under Template Settings in the Data tab, Data Transition controls what happens when the data changes while the graphic is on air (for example when the operator picks another row):
- None — values switch instantly.
- Fade — bound objects fade out and back in with the new values. Set the length in Duration (ms).