How to Download data of an Entity in Json format

How to Download data of an Entity in Json format

  

Hi,

      How to Download data of an Entity in json format.


Thanks,

R.karthik

   

Hello Karthik,

Since version 10 you have the JSON statements (available in logic), that take a list and return the JSON.
Just create an aggregate to fetch your data and pass the returned list to the JSON Serialize statement.

Cheers.

A way to do this is to write a REST-webservice that expose a list of records in JSON-format.

Other way is to write an action that creates a list of records and then use the JSONSerialize action.

Inside logic You have this:


You only need to create an aggregate or a SQL Advanced query to fech the data and pass the output list to the JSON Serialize statement.