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 2022-08-05 14:41:08

unsi_2
Member
Registered: 2020-06-24

birt datasource in jxls report

hi

when i try to use a birt datasource in a jxls report, i dont see where to specify the report, the parameter/dataset and the name.

it is possible to use it somehow?

if not, could you provide an example of how to create a script datasource that uses a jdbc connection?

kind regards

Offline

#2 2022-08-16 10:30:04

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: birt datasource in jxls report

Hi unsi_2,

this is not possible out-of-the-box.

But you can use scripting for this. Script datasources can use any groovy constructs, so you can use groovy sql for this:
https://docs.groovy-lang.org/latest/htm … l/Sql.html
https://groovy-lang.org/databases.html

You can see specific uses of Groovy's Sql in ReportServer here: https://github.com/infofabrik/reportser … /tools/sql

Here you see the datascript documentation:
https://reportserver.net/en/guides/scri … tasources/

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB