Create DATA sources for tables
  • 27 Sep 2023
  • 1 Minute to read
  • Dark
  • PDF

Create DATA sources for tables

  • Dark
  • PDF

Article Summary

The Data sources tab allows you to create, manage and debug all necessary data sources for templates and other system features at one place in the display module. It is an advanced administration feature managing large amount of data.

In the previous tutorial, we showed you how to use a simple table wizard in the template designer to create a data list with table data and allow the table data source to be automatically generated. In this tutorial, we'll show you how to create data sources for tables manually so that you can prepare multiple data sources for the same table in advance. This is necessary if you want to create multiple data lists in the same template using the Simple table wizard, where each individual data list will use a data source with different constraints for that table, resulting in different table data being displayed in each of the data lists. The data source constraints themselves, set by such functions as filter, sort, limit, and offset, will be described in the next tutorial

Imagine the Use case that you have one Beverages table created on the Tables tab and on your Template you want to show separately different tea types and coffe types. So you create two data sources, one filtered on tea and the second on coffee, see right part of the sample screen. 

Topics covered:
Data sources tab

   Sample screen:


 A) Create a table on the Tables tab - see how to do this in the previous Create and manage your tables tutorial.
B) Create a new data source

  1. Open the Data sources tab.
  2. Click the New data source button.
C) New data source item.
  1. Enter the name of the table.
  2. Select Table from the Type drop-down menu.
D) New fields become available after selecting the data source type:

  1. Set the Poll interval in seconds. Note: the Poll interval is the time interval, in seconds, at which the system will collect / update data.
  2. Click the Select table button.
E) A new Tables sub-window opens where you can select your table.

F) The basic table data source configuration is complete and you may click the Save button. 

The data source for your table is created and you can use it in your templates. 

G) Advanced configuration using available functions such as filter, sort, limit and offset are described in the next tutorial. Continue with the tutorial Constrain data sources for tables.

Was this article helpful?