shreyashi.gupta Posted June 30, 2017 Share Posted June 30, 2017 I have changed maxFileSize and fileNameRegexp properties from ..WEB-INF/flows/fileResourceBeans.xml and ALLOWED_FILE_RESOURCE_EXTENSIONS property from jasperserver-pro/scripts/resource.locate.js but there is no changes at the server level.Please anybody could help over the issue.I'm really stuck up over this. Link to comment Share on other sites More sharing options...
Solution kkumlien Posted January 23, 2018 Solution Share Posted January 23, 2018 Have you tried changing resource.add.files.js instead (in the same folder scripts/bower_components/jrs-ui/src/)? I tried on 6.4.0 and it worked for me.E.g. in this example I removed PNG as a valid option:After you've modified the JavaScript, please be sure to re-create the optimized scripts (https://community.jaspersoft.com/documentation/tibco-jasperreports-server-ultimate-guide/v640/customizing-javascript-files), or to use the non-optimized version (by changing the relevant property on the server or adding _opt=false to any URL in JRS). 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