Register a new JSON data as DataSource
-
- Posts: 2
- Joined: Fri Nov 08, 2024 8:19 pm
Register a new JSON data as DataSource
I need to do a server-side export without any frontend/javascript how can I set the new JSON data in report ?
-
- Posts: 6977
- Joined: Tue Mar 20, 2018 5:34 am
Re: Register a new JSON data as DataSource
Hello,
Please check the following sample:
https://github.com/stimulsoft/Samples-R ... er_Side.py
Thank you.
Please check the following sample:
https://github.com/stimulsoft/Samples-R ... er_Side.py
Thank you.
-
- Posts: 2
- Joined: Fri Nov 08, 2024 8:19 pm
Re: Register a new JSON data as DataSource
Hi, the simple export works well, but in my case I need load an JSON as a DataSource, but in the git repository doesn't have any example to register the DataSource in server side mode.
I tested a report with 3 DataSources: 2 postgres and 1 json file.
In this case only the 2 postgres pass through onBeginProcessData, the JSON DataSource don't.
In my report I need load an JSON as DataSource, but I need set it programmaticaly.
I tested a report with 3 DataSources: 2 postgres and 1 json file.
In this case only the 2 postgres pass through onBeginProcessData, the JSON DataSource don't.
In my report I need load an JSON as DataSource, but I need set it programmaticaly.
-
- Posts: 6977
- Joined: Tue Mar 20, 2018 5:34 am
Re: Register a new JSON data as DataSource
Hello,
Please check the following article:
https://www.stimulsoft.com/en/documenta ... _files.htm
Thank you.
Please check the following article:
https://www.stimulsoft.com/en/documenta ... _files.htm
Thank you.