lgraziani2712
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by lgraziani2712
-
-
Sorry for reviving this dead post, but was never answered and the title is perfect.
Is it possible to change the datasource in the rest call? This is what I'm trying:
http://localhost:8080/jasperserver/rest_v2/reports/unik/ReporteDiario.pdf?REPORT_DATA_SOURCE=resource_id[/code]
Replace the resource_id with any REPORT_DATA_SOURCE ID. But it doesn't work.
If it isn't possible, what is the motive? Where I can read about it?
Thank you! Luciano.
change datasource via rest service
in Products
Posted
I found a solution! Is not through the REST API but with environment variables! (Even better)
Doc: https://community.jaspersoft.com/documentation/tibco-jasperreports-server-administrator-guide/v601/attributes-data-source-definitions
Short answer: configure one data source with environment variables, and then set those variables on the server, role or user.
Luciano.