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

Jaspersoft Studio, custom FileResolver when preview


antoon.johansson

Recommended Posts

Hi!

When developing our reports, we use a scriptlet to fetch the image URL's. What this scriptlet does is basically look up in the database to find the URL of an image, and return it. This URL is in most cases an NFS path, such as "\192.168.10.10SomeDirectoryReportsImageslogo.png".

These URL's work fine when developing locally on Windows machines. It also work fine in our production and staging environments, even if they run Linux, because we have a custom FileResolver implementation in our system, that utilizes jcifs to reach these NFS paths. However, it does not work fine when developing locally on Linux machines.

Is there a way to inject a custom FileResolver implementation in Jaspersoft Studio when previewing reports?

By the way, I'm using the Eclispe plugin for Jaspersoft Studio, but could as well start using the standalone Jaspersoft Studio if necessary.

Thanks!

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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