Retrieving Data Example: Getting Data for a Logi Application
Here's a very simple example of a Logi application that uses the data from the Create a Data Definition topic. The Json Style is blank (RowsToObjects) in that example.
In the report definition above, Data Table and DataLayer.Json File elements have been added. The datalayer's Json File attribute has been set to:
https://localhost/v12test/rdTemplate/rdData.aspx?rdData=myDataDef
A Flattener element has been used to flatten the JSON data array into rows and columns for use in the Data Table and an Auto Columns element handles our columns. For more information on these elements, see The Flattener and Auto Columns.
And, if we preview the report definition, the resulting output is shown above.