Running reports in the Preview mode via Report Designer is all well and good; however, for the solution to really be useful, we should publish it to the Pentaho server so that other users can run our reports via a web browser.
To get ready for this recipe, you will have to make sure your MongoDB instance is running.
We are going to open a report from a previous chapter and publish it to the Pentaho server:
Go to File | Open.
Select the chaptet5-orders-report.prpt directory.
Click on Preview.
You should be able to simply run this report and see the Orders data. Now it's time to publish the report:
Go to File | Publish or press Ctrl + Shift + P.
You will need to authenticate with the Pentaho server. Make sure that the following properties are set:
URL is set to
http://localhost:8080/pentaho
.User is set to
admin
.Password is set to
password
.
Click on OK.
The following screenshot shows the Login page:
In the next pop-up window, we will...