Home
Analytics
Uploading a File to the Web Viewer
ptazbaz
Hello,
I have configured the web viewer on a remote tomcat server and am trying to run custom BIRT reports. Each of these reports prompts for a parameter, which is the path to a local file that represents the XML datasource that the BIRT report runs against. Is there a simple configuration to be able to run the web viewer on a remote server, but have it prompt to upload a local file from the client machine in order to run the reports. I have tried parameter strings such as:
file:///c:/testdata.xml
file://c:/testdata.xml
with no luck.
It would be ideal if there was a custom parameter page available or default setting that enables a button on the parameter dialog page for uploading local files, so that the report viewer can execute, versus having to type in a file URI directly. Any guidance or sample code would be much appreciated. Thanks.
Find more posts tagged with
Comments
averma
Hi ptazbaz,<br />
You could submit an enhancement request here:<br />
<a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/reportabug.php'>BIRT
: Reporting Bugs and Requesting Enhancements</a><br />
<br />
As a workaround you may consider either customizing the parameter collection page or if you are using JSAPI you could externalize the parameter collection and provide your own mechanism to upload the xml file to a temporary location on remote server. <br />
<br />
Ashwini