Unsolved
This post is more than 5 years old
13 Posts
0
1571
March 3rd, 2015 09:00
M&R direct APG-Frontend-Report generator access
Hi all,
I am trying to make the APG-Frontend-Reprot genereator execute the report on demand directly, without use of Task-Scheduler, as we would like to add some automation to that task and also use it as debug tool when some of the reports take too long to generate. Is there anyone strongly Java capable to be able to translate the .task deinition XML into the java commandline to run it from e.g. cron, script or subtask?
Thanks for any help.
Cheers T.
No Events found!
StanLikavcan
6 Posts
1
April 1st, 2015 03:00
Hi Tom,
Not sure if it helps or not but here is what you can try:
This should give you some hints how the task is executed.
Let us know if it helps.
Cheers,
Stan
tomas_nekolny
13 Posts
0
April 1st, 2015 07:00
Thanks Stano.
This we've tried and its a short step forward of course. But still utilizing the Task-Schedulers' java classes and we still need to prepare the .task file.
We are looking for direct access to the report-generators' library calls.
Cheers,
Tom
StanLikavcan
6 Posts
2
August 31st, 2015 06:00
Hi Tom,
I know it's been a while. Did you manage to figure it out in the end?
Actually I have had a similar request recently and it looks like it is possible to generate on-demand reports with (ab-)using
the Frontend-Report-Generator.
I have hacked a quick script to do it:
Note: ownerId = 1 is typically the admin user. That means the resulting stored report will be visible for admin. If you need to figure out the other IDs take a look at the .task file for specific user.
Let me know if it helps. Cheers!