phpjasper icon indicating copy to clipboard operation
phpjasper copied to clipboard

URL Based JSON

Open ismail-mti opened this issue 7 years ago • 9 comments

Hi there!

Great library to run jasper reports in php. You have given example for JSON file but i actually need URL based json response in my reports. Is this supported currently ? if not, then could you please add it in new release. Thanks

ismail-mti avatar May 11 '17 05:05 ismail-mti

I also need URL based json response which is available in jasper v6.3.1 and your library supports 6.3.1 so it should run url based json reports.

Muhammadinaam avatar May 11 '17 11:05 Muhammadinaam

Hello @Muhammadinaam , i just updated the library to version 3.1.0 of jasperstarter, please check the news in the file: https://github.com/PHPJasper/phpjasper/blob/master/CHANGES

Thanks @ismail-mti, it's done.

geekcom avatar May 12 '17 00:05 geekcom

https://github.com/PHPJasper/phpjasper/releases/tag/v1.15

geekcom avatar May 12 '17 00:05 geekcom

Thanks @geekcom for your time and quick response. I have updated library to latest version but the problem is that i want my JSON data file to be URL based like e.g in db_coonection options if i put data_file => http://localhost/mylaravelapp/public/img/contacts.json instead of directory path like this data_file => 'your_data_files_path/your_json_file.json' Report should run fine in case of URL but it gives error. Jasper studio works fine in case of URL but library (maybe its due to lack of url based json support in jasperstarter) fails to run such reports. See attached files for references:

json data adapter wizard

json test connection-data adapter wizard

ismail-mti avatar May 12 '17 05:05 ismail-mti

@ismail-mti I understand,

Note that this functionality does not yet exist in jasperstarter, [JAS-90], I'll find the best solution for this, if you have any ideas, you're welcome.

geekcom avatar May 12 '17 14:05 geekcom

@geekcom thanks . I will be waiting for update

ismail-mti avatar May 13 '17 03:05 ismail-mti

Is there any update on this topic? Any workaround is also welcome

gambledor avatar Feb 02 '18 08:02 gambledor

hey @gambledor nothing news at https://cenote-issues.atlassian.net/projects/JAS/issues/JAS-90?filter=allopenissues&orderby=priority+DESC%2C+updated+DESC

geekcom avatar Feb 02 '18 13:02 geekcom

any update of this ?

thanks before

Agilornoname avatar Sep 14 '21 09:09 Agilornoname