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:
Catalog Layout
(optional)Filter
(optional) – Example: price>100Order By Field
(optional) – Example: name descLimit
(optional) – Max number of records to load. Example: 20. 0 is default and means No Limit.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) }}
Leave a Reply
You must be logged in to post a comment.