Widget Template

The core of a widget is its template. The template is written in XML and stored as a property of the Widget context. It defines a widget's structure, and has two primary parts:

  • Layout, defining the internal components of a widget, their properties and relative positions
  • Data bindings that define the relations between widget components and data provided by Iotellect Server

In most cases, the widget template is edited in Widget editor and editing is initiated by Edit Template action of a Widget context. But in some rare cases, the template may be manually changed (or replaced) by editing its raw text. Widget editor also lets you export and import templates from external XML files.

Template Backups

It is possible to force the server to keep history of widget template modifications. For more information, see Keeping History of Object Changes tutorial.

Was this page helpful?