sjbradshaw Posted July 29, 2019 Share Posted July 29, 2019 I am trying to add reports to the main View menu and spent over a day now reading and re-reading the manual and trying things to get it working but without success.Items have been adde to the menu OK by editing actionmodel-navigation.xml.eg. <option labelKey="menu.r1" action="primarynavModule.navigationOption" actionArgs="actionarg"/>The problem is in getting this to do anything useful.If I make "actionarg" the same as an existing navigationpath such as "search" it works fine but I have added my own navigation paths, even tried just replicating the the search function but can not get it to work.In the browser console I get 'Uncaught TypeError : Cannot read property 'params' of undefined at Object.setNewLocation.It's as if my changes in actionModel.primaryNavigation.js are being ignored. (I'm clearing all browsing data each time I edit it too.)Any ideas what I could be doing wrong here? Link to comment Share on other sites More sharing options...
sjbradshaw Posted July 30, 2019 Author Share Posted July 30, 2019 A fresh start today, I realised all the javascript is optimised.A bit mroe Googling and found this https://community.jaspersoft.com/documentation/jasperreports-server-ultimate-guide/v561/customizing-javascript-filesTurned this off in /js.config.properties and now it works. 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