Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#1 2016-11-30 12:56:20

quintg
Member
Registered: 2016-10-19

Jasper Excel export in xlsx format?

I noticed that Birt reports export to XLSX format while Jasper exports to XLS format.
Is it possible to generate XLSX format from Jasper as well? If not, is it on the roadmap?
The xlsx output from Birt is smaller and cleaner than the xls output (generates many empty columns).
Furthermore the xls output seems to be limited to 65535 records:
net.datenwerke.rs.core.service.reportmanager.exceptions.ReportExecutorException: The report could not be executed: Maximum row number is 65535.

Offline

#2 2016-12-07 14:45:33

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Jasper Excel export in xlsx format?

Hi quintg,

we will look if it is possible to change the jasper export format to XLSX in the next reportserver version.

If you need excel sheets, why aren't you using dynamic lists which you can then export easily? This is easy and works like a charm.
The jasper excel export creates a lot of empty columns as you noted, and I'm not sure if changing the format to XLSX will improve this behavior. It depends on the complexity of the report and how the jasper library handles this. Normally, we would recommend dynamic lists for Excel exports. The results are cleaner.

Best regards,
Eduardo

Offline

#3 2016-12-07 15:50:04

quintg
Member
Registered: 2016-10-19

Re: Jasper Excel export in xlsx format?

Thanks for the tip Eduardo, I'll try the dynamic list option

Offline

#4 2016-12-07 16:31:34

quintg
Member
Registered: 2016-10-19

Re: Jasper Excel export in xlsx format?

Hi again, the dynamic list finished quite quick and I do see the output listed in the teamspace but when I try to open or save it shows an empty window. In the log I see this message:

07-Dec-2016 17:03:09.947 SEVERE [pool-DwAsyncService-1-thread-3] org.hibernate.engine.jdbc.spi.SqlExceptionHelper.logExceptions Packet for query is too large (105075840 > 33554432). You can change this value on the server by setting the max_allowed_packet' variable.

On another post I read the suggestion to increase this parameter in my.cnf file but I cannot find it in the File System.

Offline

#5 2016-12-07 16:56:43

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Jasper Excel export in xlsx format?

Hi,

my.cnf is a mysql config file.

Greets,
Eduardo

Offline

#6 2016-12-07 19:00:03

quintg
Member
Registered: 2016-10-19

Re: Jasper Excel export in xlsx format?

Hi, found it and it works. Thanks.
Kind regards, Gerard

Offline

#7 2016-12-09 13:24:46

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Jasper Excel export in xlsx format?

Hello,

we added XLSX support in the jasper excel export functionality to the next reportserver version.
Analogous to BIRT, it uses the configuration here:
/etc/exportfilemd/excelexport.cf

This setting can be <format>xlsx</format> or <format>xls</format> and this is now used both in BIRT and Jasper.
As I said previously, the XLSX output is not cleaner than the XLS output because of the jasper libraries. So we still recommend to use dynamic lists for getting nice clean excel files.

We will investigate if we can also add XLSX support to the Crystal reports too and will keep you informed here.

Best regards,
Eduardo

Offline

#8 2016-12-13 11:59:32

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Jasper Excel export in xlsx format?

Hello,

since Crystal's XLSX export only supports a "data only" mood, we will leave the XLS Version for this, since formatting is not being lost with the XLS export.
For Jasper, as I said previously, we added the XLSX support in an analogous way as BIRT.

Cheers,
Eduardo

Offline

#9 2016-12-13 15:27:28

quintg
Member
Registered: 2016-10-19

Re: Jasper Excel export in xlsx format?

Thanks Eduardo.

Offline

Board footer

Powered by FluxBB