#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

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

Online

Board footer

Powered by FluxBB