daniel.la Posted August 9, 2017 Share Posted August 9, 2017 Hello all,I was wondering if anyone knew if there's a way to print a report that's been rendered onto a web page with the REST v2 API and PHP Client? I've been researching and have not found anything from the documentation or the community. Is this feature support? If so how can I print them?Thanks! Link to comment Share on other sites More sharing options...
bscherzinger Posted August 9, 2017 Share Posted August 9, 2017 I think I need the same solution. I create .jrxml/.jasper report files, then I need to be able to use them on my site to generate on-demand reports. The site is running Joomla! 3.7.4 (PHP), but the rendering engine could technically be written in any language. This would likely be extremely handy for a lot of CMS-based sites, such as WordPress, Drupal, etc. Ideally, a Joomla! component would be best for my case since there's an element of security involved in the information being queried from the database.And actually, if it could render a PHP file and put it for download, that would be ideal. I don't need it rendered as a web page.Thanks,Bruce S., Vienna, VA Link to comment Share on other sites More sharing options...
ramonc Posted August 10, 2017 Share Posted August 10, 2017 If rendered as a web page and consumed using the REST_V2 API, then you could set the content-type header=application/pdf; content-dispostion=inline; you have a problem downloading it Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now