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

Jasper studio version

rleir
14-Alexandrite

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_Jas...

4 REPLIES 4
rleir
14-Alexandrite
(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_Jas...

The same help page is here:

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

 

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
14-Alexandrite
(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_BusLogicC...

 

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
14-Alexandrite
(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
14-Alexandrite
(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