gert_1 Posted March 5, 2015 Share Posted March 5, 2015 Is there a parameter which I can use in my report that returns me the parent-folders / directory of the location on the server?I need this so that my report does a request based on the location of the report. Example:(server location report1)reportsaccreport_unit1 (report-unit)report1.jrxmlShould have a textfield like (www.acc-website.com/picture.png)And:(server location report1)reportslivereport_unit1 (report-unit)report1.jrxmlShould have a textfield like ((www.live-website.com/picture.png) Link to comment Share on other sites More sharing options...
Solution gert_1 Posted March 5, 2015 Author Solution Share Posted March 5, 2015 Solved it, reference to: https://community.jaspersoft.com/questions/800720/how-access-property-expressionsRequest a report propertie with following expression: $P{JASPER_REPORT}.getProperty("ireport.jasperserver.report.resource")Then some concatenating to do but that's no showstopper. I am wondering though, where I can find all properties of the aJasper Report (ireport.jasperserver.xx.xx etc.) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now