PDA

View Full Version : Unable tu set a report output type when publishing.



juanpa909
11-21-2011, 07:44 AM
Hi, I'm creating a couple of pentaho reports, and I'm having some troubles when trying to publish it. When I publish the reports, I select PDF as the output format, but when I load it, HTML is the one selected. However, if I set it to be locked as PDF, when the report is ran it is in PDF format.
Also, "Title" field in the report publishing window is apparently omited as in the Pentaho User Console the reports list at the left always shows reports files names as the name of the reports. It seems that configs set when publishing are not working.
I'm running PRD 3.8.3 and Pentaho BI Server 3.6.

Any suggestions?

hansva
11-21-2011, 08:02 AM
you are using a newer version of PRD with an older version of the BI-server PRD 3.8.3 is made for BI-server 4.1.
this can explain some of your problems.

juanpa909
11-21-2011, 12:45 PM
Hi hansva, thanks for the answer. I've downloaded version 3.7 of PRD to see if that was the problem but it seems it is not. I published the report again, but everything keeps the same way.

Taqua
11-21-2011, 04:02 PM
You are using a 3.6 Server, so you have to use a PRD version equal or lower than that. So you are free to use 3.5 OR 3.6, but not 3.7 or anything newer. Upgrade your server to a more recent version if you want to run reports that have been created with a new version of PRD.

Also see: http://www.sherito.org/2009/08/my-horse-does-not-run-on-petrol-is-this.html

juanpa909
11-21-2011, 05:23 PM
Hi Taqua, sorry for the misstyping, I mean 3.6. I tried running PRD and BI server 3.6, but problem is the same as with the version 3.8.3 of PRD.

Taqua
11-22-2011, 04:56 AM
Both the server and the report designer contain a copy of the reporting engine. If your server is old (3.6) then the copy of the reporting engine that executes reports is old too. So even if you use a new report designer, the server still uses a old version of the reporting engine to execute the report.

You MUST upgrade the BI-Server to a version that contains a reporting engine that matches your PRD. If you want to use PRD-3.8.3, then the only BI-Server version you can use is BI-Server 4.1. If you use anything else, then suffer and scream in pain, you will not be successful to run the reports without errors.

juanpa909
11-22-2011, 05:39 AM
Yes, I think I understood, so I downloaded version 3.6 of PRD and used to create a report instead of version 3.8.3. After downloading version 3.6 of PRD I created a report with it and published it to the BI server (also version 3.6), but nothing changed. I see the problem using any version of PRD, 3.6 or 3.8.3.

Taqua
11-22-2011, 08:54 AM
Setting a default output target is done in the master-report's attributes. The JIRA case for this feature says that setting an output type was supported from 3.7.0. So your 3.6 version of the reporting suite is NOT able to do that properly. Upgrade both PRD and your BI-Server to a more recent version.

http://jira.pentaho.com/browse/PRD-2270

juanpa909
11-22-2011, 03:09 PM
Ok. I can't update the server right now, but now I know what the problem is. Thanks for your help Taqua.