Load data from JSON and use in a components

Is it possible to load data from a JSON endpoint instead a normal datasource? Just for read only purposes.

I have a need to create a screen where some of the key data elements are stored in an existing ERP solution. They can be retrieved as JSON, but I am a bit stuck in how I could fill a Table component of Lookup component with the data.

In the form I would then select say a customer number, and store it in a normal entity.

Any ideas is highly appreciated

Hi,

generally there is an example online from Aleksey GitHub - aleksey-stukalov/custom-datasource: This example illustrates how to create and use custom collection datasource in the CUBA Platform
which loads currency rates from a JSON endpoint. This should give you a good starting point on that.

Bye,
Mario

Awesome way to do it - That will make it easy to implement. Thanks

Br,

Torben