You are not logged in.
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:
We will keep you informed in the pinned thread.
Kind regards,
Your ReportServer Team
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:
Wir halten euch im angepinnten Beitrag auf dem Laufenden!
Mit vielen Grüßen
Euer ReportServer Team
Pages: 1
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
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
Pages: 1