Jump to content
Changes to the Jaspersoft community edition download ×

How to set the locale of the running report via rest_v2 webservice?


kairat.biy
Go to solution Solved by kairat.biy,

Recommended Posts

I am running report on the JR server (v5.0.0 CE) calling v2 restful service like as following:

http://localhost:8080/jasperserver/rest_v2/reports/reports/MyReport.pdf?REPORT_LOCALE=tr_TR

The report MyReport.jrxml is designed in iReport and it can run and show the report both in EN and TR locales
after changing iReport's locale through "Compilation and execution" settings appropriately. After uploading the report with its bundle properties 
files to the server, I tried to specify the locale of the running report by passsing REPORT_LOCALE parameter in the url as shown above.
However the pdf output is rendered using server's locale ie en_US.

So I want to know how to specify the locale of the to be run report on the server via rest webservices, preferably v2 rest ws?

Thanks.

Link to comment
Share on other sites

  • 1 month later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...