This post is more than 5 years old
9 Posts
1
1513
Realtime reports using DPA API and built-in webserver (apache)
Hi All,
Currently we are creating static reports using the scheduled reports option and placing the resulting html documents in the reports folder.
Does anyone know how to use the DPA API to create dynamic reports using a webserver so we can request reports using
The report would be requested using an url like:
http://dpaserver:9002/reports/dpa_api.cgi?request=report&?reportname=reportcard
dpa_api.cgi should be a custom script where we can do the talking to dpa_apitool and using the variable values and predefined information
such as the authfile.
The result of the request should be an xml which is sent back to the browser so it can be formatted using an xlt
My questions are:
- what would be needed to run the reports like this
- how to set this up using the built in http server for DPA
- how would the script look like
- what would be the easiest way to format an xlt which makes the xml data readable
Kind regards,
Jeroen
doster1
31 Posts
0
March 30th, 2011 06:00
Hi Boekkamp,
Support does not have the capacity to write scripts so it would be best to discuss with your sales person if Professional Services would be able to perform such.
Hope that helps
Dan
proxy3
4 Posts
1
June 1st, 2011 06:00
Hi Boekkamp,
I did something very similar some time ago. I wrote a perl script to convert the xml output into html or csv. We can now run a DPA report by running the script from the command line or by calling a URL. Instead of using the DPA http server (it's not apache) we installed a separate apache webserver on the DPA server. You can contact me for more info if you want.
Joachim