Alex42 Posted May 15, 2017 Share Posted May 15, 2017 I have a bit of a problem unfortunately caused by a lack of example in the Jasper Server Ultimate guideMy intention is to create an aditional menu in to top bar of the Server. The purpose of this menu is to actually run several frequent reports when click on. I followed the guide from herehttp://community.jaspersoft.com/documentation/tibco-jasperreports-server-ultimate-guide/v630/adding-new-main-menuThe new menu appears in the top bar but there is no acction being taken when i click on it.I get MENU with drop down and Reports, but when i click Reports nothing happens. I am assuming it is because the URL and parameters defined in actionModel.primaryNavigation.js file are wrong but there are no examples of actually calling a report in the file or in the guide(please correct).i currently have:in actionModel-navigation.xml <!--custom menu--> <context name="main_custom_mutton" test="!banUserRole"> <selectAction labelKey="NAV_801_MENU"> <option labelKey="NAV_806_Reports" action="primaryNavModule.navigationOption" actionArgs="reports"/> </selectAction> </context> in pro_nav_messages.propertiesNAV_801_MENU=MenuNAV_806_Reports=Reports in actionModel.primaryNavigation.js under navigationPaths reports : {url : "flow.html", params : "_flowId=viewReportFlow&ParentFolderUri=/Path&reportUnit=/Path/Report_URI"} What am i doing wrong? Link to comment Share on other sites More sharing options...
johann.reboulleau Posted December 11, 2017 Share Posted December 11, 2017 Hello,When you modify the " actionModel.primaryNavigation.js " JS file, you have to optimize (generate bundle files) the JS scripts.Follow this documentation : https://community.jaspersoft.com/documentation/jasperreports-server-ultimate-guide/v561/customizing-javascript-filesI think "some files are merged".Regards,Johann 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