How to find .jasper file for the report book (2024)

Table of Contents
Situation: Solution:

Situation:

You're trying to create a Report Book. You have the book report created, and now trying to pull in the reports for the book itself. Studio tells you that you need a .jasper file. How to create or where to get that? The reports that you want to include already exist, were created with Studio, and are published to the server.

Solution:

The .jasper file is a compiled version of jrxml file. To get a jasper file, open the report in studio and press Compile Report button which is to the left of Dataset and Query button. This will generate the .jasper file in your workspace and you can point to it in the book.

You can right click at content in outline, press Add new book part, press Select a report file, use Workspace, press Browse and just point it to a JRXML. It'll put .jasper in the expression, that jasper file will be generated when you preview the book.

When uploading a book though, studio will upload the JRXML files as book resources. If you want to use reports from the server as parts of the book, you'll need to upload them as JRXML files and not as report units.

How to find .jasper file for the report book (2024)
Top Articles
Latest Posts
Article information

Author: Golda Nolan II

Last Updated:

Views: 5825

Rating: 4.8 / 5 (58 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Golda Nolan II

Birthday: 1998-05-14

Address: Suite 369 9754 Roberts Pines, West Benitaburgh, NM 69180-7958

Phone: +522993866487

Job: Sales Executive

Hobby: Worldbuilding, Shopping, Quilting, Cooking, Homebrewing, Leather crafting, Pet

Introduction: My name is Golda Nolan II, I am a thoughtful, clever, cute, jolly, brave, powerful, splendid person who loves writing and wants to share my knowledge and understanding with you.