Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Currently Windchill 10.1 API only supports generating the report in pdf format and not in excel format. But Windchill report UI supports both pdf and excel formats.
We are trying to automate ECN summary report in ECN workflow and currently API only supports generating report as a pdf file and attach to ECN. Since there is no API to support generating report in excel we are not able to auto generate report in excel within ECN workflow. Our business users want report in excel form and not in pdf.
The available API to support report generation is.
wt.change2.reports.ReportHandlerFactory.getInstance().handleReport(primaryBusinessObject, "Change Notice Summary Report", wt.content.ContentRoleType.SECONDARY,((wt.change2.ChangeOrder2)primaryBusinessObject).getNumber()+".pdf");
It would be nicer to have similar API for .xlsx file. I think it is already there and it is not exposed to outside since UI is able to do same functionality of generating report in excel form.
Here is UI to generate report in both pdf and excel form.
Thanks
Ayyappan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.