Thanks for the thorough analysis Lance Good ![]()
>>There is another solution that I have working for this case. I was able to make an AJAX request for the form HTML from RunReportsController.js. I then set the src URL on the iframe to a data URL
This sounds like a viable solution . The target browsers for the community app (a back office app, gives us more flexibility regarding the browsers we want to support) are the latest versions of Chrome and Firefox
>>Other potential options would be to change the server somehow to return JSON instead of HTML The default reporting API returns JSON data. Support for running pentaho reports was added specifically for organizations looking for "well formatted reports", where the look and feel of reports could be defined/modified outside of the community app by using reporting tools which these Organizations were already familiar with, so the objective was to allow embedding pre-formatted reports (html /pdf / excel) into the community-app
>> or to change the entire app to a security model other than basic authentication. With this release, we introduce support for OAuth 2 (resource owner password credentials grant) , but the consumption of the API's at the community-app would remain pretty similar, so the solution you propose would still work for us.
|