{{ tables.getrecords }} – Get Records

Renders another table records using selected layout.

Basic usage:

{{ tables.getrecords }}

Usage with parameters:

{{ tables.getrecords(Catalog Layout, Filter, Order By Field, Limit, Group by Field) }}

Parameters:

  1. Catalog Layout (optional)
  2. Filter (optional) – Example: price>100
  3. Order By Field (optional) – Example: name desc
  4. Limit (optional) – Max number of records to load. Example: 20. 0 is default and means No Limit.
  5. Group by Field (optional) – Group records that have the same values into summary records, like `find the number of customers in each country`.

Example:

{{ tables.getrecords("CountriesPage",population>1000000,"name",20) }}


What are your feelings

Leave a Reply

Updated on January 9, 2025