Jump to content
We've recently updated our Privacy Statement, available here ×

How to use relative path to reference json schema when exporting to Json?


gustavofarias

Recommended Posts

I have this simple report attached and would like to export it to JSON using a schema also attached.

Differently from subreports, images, etc I can't reference the json schema with a relative path. Since it is in the same folder of the report I expected to use just "schema.json" as expression to net.sf.jasperreports.export.json.schema
. If I use an absolute path like 'C:usersusernamepathtoschema.json' it works fine.

This also prevent me from using schemas in Jasper Server.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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...