Hi Expertes,
I would like to understand is it possible to execute/run the QML (Windchill report) through java code? I'm aware of importing/loading into windchill but i'm interested to execute the qml through java and get the response. I have tried exploring the report code but got no clue.
Thanks,
Manjunath Reddy
Hi All,
Thank you for all your suggestion and ReportTemplateHelper.convertToReader did the trick.
Thanks,
Manjunath Reddy
Hi Manjunath and others.
I'm also struggling with running a saved report template via java code. Manjunath, how did you use convertToReader()?
ReportTemplateHelper class has limited Javadoc, and I don't see ANY Javadoc for ReportTemplateHelper.convertToReader()?
By guessing on the input hashmap and other parameters, I have been able to get a report to run using ReportTemplateHelper.generateTableModel(), but I can't figure out how to export it as a CSV file.
Is there any sample code that runs a report using ReportTemplateHelper and saves the results to a file?
Thanks,
Tim