Hi all,
I have a problem:
Some rpt file is deployed on a BO XI Server.
Using the Java RAS SDK i fill the parameters of this rpt.
When this is done, i call IInfoStore.commit(..) so that the changes on the parameters take effect on the server.
Then I call the ReportApplicationFactory.openDocument(...) for the very same rpt, to which I have set the paramaters before. On the ReportClientDocument I recieve, I call getPrintOutputController().export(...) to get the InputStream.
My problem is, that i HAVE to commit the parameters, and then re-retreive the commited ReportClientDocument:
[1]Retrieving the ReportClientDocument, setting the parameters and commiting them.
[2]Re-retrieving the ReportClientDocument by ReportApplicationFactory.openDocument(...) and calling getPrintOutputController().export(...)
If there is another access to the parameters of the rpt file between step [1] and [2], there will be a conflict.
In my eyes this is a viloation of the template thought.
I hope i do not understand the complete functionality of the JAVA RAS API, so that there actually exists a solution for my problem: to handle all the parameter setting and exporting without commiting any paramters to the server...and I hope someone of you know this solution.
hopeful regards
Ulli
I have a problem:
Some rpt file is deployed on a BO XI Server.
Using the Java RAS SDK i fill the parameters of this rpt.
When this is done, i call IInfoStore.commit(..) so that the changes on the parameters take effect on the server.
Then I call the ReportApplicationFactory.openDocument(...) for the very same rpt, to which I have set the paramaters before. On the ReportClientDocument I recieve, I call getPrintOutputController().export(...) to get the InputStream.
My problem is, that i HAVE to commit the parameters, and then re-retreive the commited ReportClientDocument:
[1]Retrieving the ReportClientDocument, setting the parameters and commiting them.
[2]Re-retrieving the ReportClientDocument by ReportApplicationFactory.openDocument(...) and calling getPrintOutputController().export(...)
If there is another access to the parameters of the rpt file between step [1] and [2], there will be a conflict.
In my eyes this is a viloation of the template thought.
I hope i do not understand the complete functionality of the JAVA RAS API, so that there actually exists a solution for my problem: to handle all the parameter setting and exporting without commiting any paramters to the server...and I hope someone of you know this solution.
hopeful regards
Ulli