cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Jasper studio version

rleir
17-Peridot

Jasper studio version

Hi all

The help page (link below) gives a three step process to use Jasper Reports.  

  • in WCshell, export a report template
  • use Jasper Studio to format the report
  • in WCshell, import jasper's template

There is no mention of which Jasper version Windchill works with. 

Given that Jasper is featured as the new reporting facility in Windchill, one would think that the doco would mention which Jasper version is recommended. Which version was used in PTC while this all was developed?

thanks

Rick

 

https://server/Windchill-WHC/en/#page/Windchill_Help_Center%2FWCCG_BusLogicCust_ReportGeneration_JasperCustomization_AuthoringRTemplate.html%23

4 REPLIES 4
rleir
17-Peridot
(To:rleir)

Sorry, I am getting too critical: In the help page at

https://server/Windchill-WHC/en/#page/Windchill_Help_Center%2FWCCG_BusLogicCust_ReportGeneration_JasperCustomizationPreparation.html%23

The same help page is here:

https://support.ptc.com/help/wnc/r12.0.1.0/en/index.html#page/Windchill_Help_Center%2FWCCG_BusLogicCust_ReportGeneration_JasperCustomizationPreparation.html%23

 

it gives the command syntax as

com.ptc.util.wbr.export.ExportDataSource reportTemplate -u <username> -p <password> -r 25

This exposes your password to anyone logged in who knows how to use the ps command.  Oh, and the command should start with 'java'.

 

rleir
17-Peridot
(To:rleir)

Hi all

Hmm, looking closer at the export command (from the windchill shell):

java com.ptc.util.wbr.export.ExportDataSource reportTemplate -u <username> -p <password> -r 25

 

re: https://support.ptc.com/help/wnc/r12.0.2.0/en/index.html#page/Windchill_Help_Center%2FWCCG_BusLogicCust_ReportGeneration_JasperCustomizationPreparation.html%23

 

Several questions:

  • Does this really export all the templates in one shot (it seems to)? What if I wanted just one or two of the templates?
  • It seems to not require the password parameter which is good because it would be exposed to the ps command, etc, for a long while because:
  • It seems to take a long while to complete (45 minutes?)
  • "packaged in dataset.jar located at WT_HOME/tmp" -- no, the exported info appears in a deep directory tree at WT_HOME/tmp/DataSources
  • "This jar is distributed to the host where Jasper Studio is installed." -- clarify, this is a manual operation

thanks

Rick

 

 

rleir
17-Peridot
(To:rleir)

Hi all,

Here is the 'Knowledge Hub', with links to several related articles:

Article - CS355787
[Knowledge Hub] Jasper Report and Windchill
https://www.ptc.com/en/support/article/CS355787?sourcearticle=CS354392&source=ArticleViewerRelated

 

cheers -- Rick

rleir
17-Peridot
(To:rleir)

Just a reminder to myself (and anyone who uses that command as recommended):

edit ~/.bash_history, take out the lines which show my password.

Announcements


Top Tags