Difference between revisions of "Using Pentaho with opentaps"

From Opentaps Wiki
Jump to navigationJump to search
(How to design and run a report with the pentaho framework)
(How to design and run a report with the pentaho framework)
Line 18: Line 18:
 
     <xsl:param name="baseUrlOverride" select="'https://myweburl/pentaho/control/'" />
 
     <xsl:param name="baseUrlOverride" select="'https://myweburl/pentaho/control/'" />
  
4. Download the Pentaho Report Designer (stable version 1.5.6) [http://downloads.sourceforge.net/pentaho/PentahoReportDesigner-1.5.6.270-0.zip?use_mirror=mesh Pentaho Report Designer 1.5.6] and the Pentaho Design Studio. Please refer to [http://wiki.pentaho.org/display/COM/Introducing+the+Pentaho+Report+Designer Introducing the Pentaho Report Designer] and [http://wiki.pentaho.org/display/COM/Setting+Up+Parameters+With+the+Design+Studio Setting Up Parameters With the Design Studio] for insight into downloading and using this tools.
+
4. Download the Pentaho Report Designer (stable version 1.5.6) [http://downloads.sourceforge.net/pentaho/PentahoReportDesigner-1.5.6.270-0.zip?use_mirror=mesh Pentaho Report Designer 1.5.6] and the Pentaho Design Studio. Please refer to [http://wiki.pentaho.org/display/COM/Introducing+the+Pentaho+Report+Designer Introducing the Pentaho Report Designer] and [http://wiki.pentaho.org/display/COM/Setting+Up+Parameters+With+the+Design+Studio Setting Up Parameters With the Design Studio] for insight into downloading and using these tools.
  
 
5. After having designed the report, publish it to the opentaps BI solutions repository :
 
5. After having designed the report, publish it to the opentaps BI solutions repository :

Revision as of 21:06, 23 September 2007

How to design and run a report with the pentaho framework

1. Activate the opentaps pentaho component by uncommenting the following line in hot-deploy/component-load.xml :

   <!-- <load-component component-location="${ofbiz.home}/hot-deploy/pentaho"/> -->

2. Change the base-url context parameter in the web.xml file located in <OPENTAPS-HOME>\hot-deploy\pentaho\webapp\pentaho\WEB-INF to suit your web url:

   <context-param> 
     <param-name>base-url</param-name>
     <param-value>http://myweburl/pentaho</param-value>      
     <!-- 
     <param-value>http://localhost:8080/pentaho/</param-value>
     --> 
   </context-param>

3. Change the baseUrlOverride parameter in the file DefaultParameterForm.xsl located in <OPENTAPS-HOME>\hot-deploy\pentaho-solutions\system\custom\xsl folder :

   <xsl:param name="baseUrlOverride" select="'https://myweburl/pentaho/control/'" />	

4. Download the Pentaho Report Designer (stable version 1.5.6) Pentaho Report Designer 1.5.6 and the Pentaho Design Studio. Please refer to Introducing the Pentaho Report Designer and Setting Up Parameters With the Design Studio for insight into downloading and using these tools.

5. After having designed the report, publish it to the opentaps BI solutions repository : Fig1 - Screenshot-Transaction Summary.report - Designer 1.5.6 -samples-Transaction Summary.report - Pentaho Report Designer 1.6.0.png

5.1 The opentaps BI solutions repository is located in <OPENTAPS-HOME>\hot-deploy\pentaho-solutions. Fig2 - Screenshot-Publish.png

5.2 In the previous picture the TransactionSummary report sample is being published in the pentaho-solutions\financials\acctgtrans folder.

References

1. Introducing the Pentaho Report Designer

2. Setting Up Parameters With the Design Studio

To be continued ..