Skip to content

InfoPage

An InfoPage represents a single screen/page view within a DataView. A DataView can contain one or multiple InfoPages in its pages array.

Each InfoPage defines:

  • A unique id string (e.g. "main", "page1", "settings").
  • Screen styling such as backgroundColor (e.g. "BLACK", "WHITE").
  • Header and footer configuration.
  • An array of widgets displayed on the page.
  • Page-level button action handlers.
{
"id": "main_page",
"backgroundColor": "BLACK",
"showHeader": true,
"showFooter": true,
"headerText": "System Status",
"widgets": [ ... ],
"actions": [ ... ]
}
Attribute Type Required Default Description
id string Yes — Unique page identifier within the DataView. Target for gotoPage actions.
backgroundColor string No "BLACK" Screen background color ("BLACK", "WHITE", etc.).
showHeader boolean No true Show status bar header on top of the page.
showFooter boolean No true Show status bar / action hint footer at bottom.
headerText string No "" Title text displayed in top header area if visible.
widgets array Yes [] Array of InfoWidget objects on this page.
actions array No [] Page-level button action handlers.

[!TIP] Use gotoPage downlink or button actions to navigate dynamically between InfoPages. See Runtime Updates for details.