Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Unable to display images with subreports

  1. #1

    Default Unable to display images with subreports

    HI ,

    We have a requirement to display dynamic images in sub reprots . We are using the xml files as configuration files for the reprots.

    We are able to displaly dynamic images in main reprots successfully , using the below tag .

    <image-field name="testImage" x="30" y="40" width="150" height="40" dynamic="true" fieldname="testImage"/>

    But we tried with many possiblities , and unable to display the image in sub reports .. Can any one please help us to display the image in sub reprots .


  2. #2
    Join Date
    Mar 2003


    Your image url comes from a field. So chances are high, that this field is a parameter, and you are not passing the parameter from the master to the subreport.
    Look at the demo-project, there you may find some of the ancient reports that declare subreport parameters, or look at the xml-schema for the old xml format on how to declare parameters.

    I would strongly recommend that at some point you consider using a sane and well-supported file format
    Get the latest news and tips and tricks for Pentaho Reporting at the Pentaho Reporting Blog.

  3. #3


    Hi Taqua,

    Thanks for your reply.
    Can you tell me how to pass parameters from Master report to sub report?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.