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 2023-06-26 13:13:17

maivanchuong
Member
Registered: 2023-06-26

Create groovy script to get report with param and get all report

Hi everyone,
Currently, I am having a problem with creating a Groovy script file to get a report with parameters and get the list of generated reports with the file format that the report file supports. I looked at the example at the repo: https://github.com/infofabrik/reportserver-samples but didn't find a specific example. Can you give me a specific example?
Hope to hear from you soon.
Thanks.
Regards

Offline

#2 2023-06-27 09:46:10

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Create groovy script to get report with param and get all report

Hi maivanchuong,

the samples repo is meant as an inspiration for common use cases. If you don't find any example there that corresponds to your specific use case, pls check the Script Guide:
https://reportserver.net/en/guides/script/main/
and the APIs:
The javadocs can be found here: https://reportserver.net/api/latest/javadoc/index.html
List of entities: https://reportserver.net/api/latest/entities.html
List of hooks: https://reportserver.net/api/latest/hooks.html
List of services: https://reportserver.net/api/latest/services.html

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB