I have created some reports inside IA based on their templates.
Just want to know if it is possible to export these reports from command line ?
How to export IA pdf report from command line
-
- Participant
- Posts: 161
- Joined: Wed Aug 02, 2006 4:30 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Take a look at iaJob here.
You use -lreports to get the identifier, and then -runReport to run that identifier. The report identifier, I believe, will not change once created.
Note that the documentation may say -runReports, but the actual command is without the trailing s...
You use -lreports to get the identifier, and then -runReport to run that identifier. The report identifier, I believe, will not change once created.
Note that the documentation may say -runReports, but the actual command is without the trailing s...
Regards,
Robert
Robert
-
- Participant
- Posts: 161
- Joined: Wed Aug 02, 2006 4:30 am
-
- Participant
- Posts: 527
- Joined: Thu Apr 19, 2007 1:25 am
- Location: Melbourne
Depends what you mean.
If you want to use a command line to call a report you have already created (ie: you're reporting on known sources in the same way), then iaJob is the way you can do it, as Robert said.
If you want to make a more dynamic call for a report (ie: you want to define what you want reported on or the options at the time of the call), then you are currently out of luck, as you have seen.
If you want to use the HTTP API or IAadmin, you can use -getColumnAnalysis to get the summary results well enough, but -getFrequencyDistribution only gets you the value and frequency/percentage. Not enough to derive a lot of the other types of IA reports that you can get.
You also can't get comments entered against the tables or columns.
If you want to use a command line to call a report you have already created (ie: you're reporting on known sources in the same way), then iaJob is the way you can do it, as Robert said.
If you want to make a more dynamic call for a report (ie: you want to define what you want reported on or the options at the time of the call), then you are currently out of luck, as you have seen.
If you want to use the HTTP API or IAadmin, you can use -getColumnAnalysis to get the summary results well enough, but -getFrequencyDistribution only gets you the value and frequency/percentage. Not enough to derive a lot of the other types of IA reports that you can get.
You also can't get comments entered against the tables or columns.