This fixed-records.zip (16.1 KB) example demonstrates how to render an RML template with a fixed number of records per page. The sample used sets the row count at 25.
-
Copy Fruit1000_Paginated.ds to /ElixirSamples/DataSource/Fruit1000_Paginated.ds
-
This data source sample has a PageBlock column that groups data in counts of 25
-
Assumption: The PageBlock column in the data source is dervied at the SQL statement level
-
Referring to Fruit1000_Details_25perPage.rml, data from the data source is grouped using the PageBlock field on Each Value
-
The page break is set to ‘Before’ in the Group Header properties
-
The rml template will render with 25 records on each page




