Vithika Posted January 27, 2022 Share Posted January 27, 2022 We are upgrading from JRS 7.1 to JRS 8.0.0 Community. We added few customizations related to reports in JRS-CP-7.1.0. While upgrading customizations from JRS7.1.0 to JRS8.0.0, we are not able to see the js files. And the available js files are compiled with webpack . Could you please let us know where we we can get the all the js files to updrade customizations.(In previous versions optimized script files are available in optimized-scripts folder,unoptimized script files are in scripts folder but in JRS-CP-8.0.0 we have very few js files in scripts folder and those are in optimized form) Link to comment Share on other sites More sharing options...
bcgardner Posted January 27, 2022 Share Posted January 27, 2022 I'm also interested in this question. See my comment on this solution that no longer works with v8.0.0: https://community.jaspersoft.com/wiki/how-disable-file-attachment-scheduling Link to comment Share on other sites More sharing options...
andrew.kerr Posted February 3, 2022 Share Posted February 3, 2022 It looks like the js files are now in the source code under the "jasperserver-ui" directory.We are also used to being able to modify the javascript under scripts/ and scripts/runtime-dependencies, but that no longer works.From the looks of it, we'll have to modify the source code and then run some build commands, then copy the resulting files over to the war deployment. Link to comment Share on other sites More sharing options...
bcgardner Posted February 7, 2022 Share Posted February 7, 2022 Sounds like you are talking about the re-optimization method documented here. Any idea if new documentation has been published for v8.0.0 yet? Link to comment Share on other sites More sharing options...
kkumlien Posted August 29, 2022 Share Posted August 29, 2022 This Dr Jaspersoft webinar explains the new Webpack approach in 8.0: Per slide 8 in the presentation:Only the paths has been changed, JavaScript file names are still the sameYour JavaScript changes made in earlier versions needs to be added to yournew jasperserver-ui projectThen all you have to do is build those changes as seen earlier to make themJasperReports Server 8 UI compatibleExact same process for Visualize.js library customizations as wellOfficial documentation is at section 5.2.3 Customizing JavaScript Source Code of the JRS Ultimate Guide.Please note, the Dr Jaspersoft page (and slides) is here in the new community: https://community.tibco.com/s/article/dr-jaspersoft-office-hours 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