Jump to content
We've recently updated our Privacy Statement, available here ×
  • Remove Toolbars in Report Viewer Opened From Drilldown Hyperlink


    asimkin
    • Features: Reports Version: v7.1, v6.4 Product: JasperReports® Server

    Issue Description

    Customer is running a report via JasperReports Server HTTP API and specifying &viewAsDashboardFrame=true parameter in URL
    to remove Report Viewer toolbars:

    [toc]
    <iframe src="http://localhost:8710/jasperserver-pro/flow.html?_flowId=viewReportFlow&_flowId=viewReportFlow&ParentFolderUri=%2Fpublic%2FCases%2F01576058&reportUnit=%2Fpublic%2FCases%2F01576058%2FChart_Report&standAlone=true&viewAsDashboardFrame=true&j_username=XXX&j_password=YYY">
    

    The report contains a Chart with drilldown hyperlink to call a child report.

    The problem is that he clicks on Chart hyperlink, the child report opens without viewAsDashboardFrame property, with Report Viewer Toolbars

    issuedesc.png.de4d2798f356d35a30788604d3c415d8.png

    Customer needs a way to hide toolbars for the child report as well


    Resolution

    A possible solution is to manually add one more parameter to the Chart hyperlink details:

    viewAsDashboardFrame with value constant value true.

    support_hyperlinkadditionalparameter.png.7fc5bb9864900d27d2ecf3f47b035c8d.png

    As a result, option "&viewAsDashboardFrame=true" will be automatically added to the URL and you get no toolbars.

    notoolbars.png.102ac993736b73b2a6afecdeedffab07.png

    Solution tested with TIBCO JasperReports® Server v.6.4.0, v.7.1.0


    Ref. Case 01576058

    issuedesc.png.116a36de9dc1d716fe5bb1ed131f348e.png

    support_hyperlinkadditionalparameter.png.d7403d44b02a921e8c282fbb7dad3ced.png

    notoolbars.png.df4b25faf086ee68feb7a3ce603e8e3c.png


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...