SpagoBILabs / SpagoBI

Outdated version of Knowage - Business Intelligence suite. Explore https://github.com/KnowageLabs for the current repository.
181 stars 108 forks source link

REPORT_LOCALE parameter #3

Open burlicconi opened 8 years ago

burlicconi commented 8 years ago

Hi, I'm using this version of SpagoBI, REST services are excellent with Jasper Reports, but i have one thing that is not clear to me:

I noticed that if I switch language in Spago, that change is passed to REPORT_LOCALE, but I have to call Jasper report via SpagoBI REST.

How to do that?

davide-zerbetto commented 8 years ago

Hi please post on JForum (https://spagobi.eng.it/jforum/forums/list.page) for this kind of questions. At the moment we are not using GitHub issues (I think we will disable this since we have also our tracker https://spagobi.eng.it/jira/secure/Dashboard.jspa). As a workaround solution, did you try defining SBI_LANGUAGE and SBI_COUNTRY parameters? Please try defining those 2 report parameters and then define them as analytical drivers, then you could assign a value to REPORT_LOCALE starting from SBI_LANGUAGE and SBI_COUNTRY. Best regards Davide