Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to create the Adhoc Templates in Jaspersoft Server


    emistry
    • Features: Ad Hoc, JasperReports Server, User Interface Version: v6.0 Product: JasperReports® Server

    On a customer request, I wanted to put together a set of simple set of instructions together for creating Adhoc Templates within JasperServer.

    First of all import the attached export.zip file and you see the Jaspersoft Template in the public/templates folder : 

    1(100).png.e68491f2480b25cbc8644952de70683b.png

    Now if you create a Adhoc Report using this template it will look like this :

    1(101).png.ee2a0cf01958bc0cdb71453952542bf8.png

    Note that the report appears with Tibco Jaspersoft branding, Date and Page Numbering.

    So how I did create that .. If you now goto Jaspersoft Studio (having assumed you already have a server connection in Jaspersoft Studio)

    If you now goto the relevant folder Repository Explorer you will see the following  .. 

    1(103).png.3b3defc774cd1631450378cfacdec6f0.png

    The three files : 

    1. Jaspersoft is the logo
    2. JaspersoftTemplate is the JRXML defining the report template
    3. JaspersoftTemplateAdhocStyles is the container holding the style information. 

    In order to customise the template you simply change the JRXML file accordingley

    1(104).png.3930171d163801387f6259f8018aea58.png

    Rename, change, add, remove and play .. 

    Lots more you can do by playing with the Styles .. But this should get you started.

    1(101).png.b1cf256473841ea13fd88c17059ad452.png

    export_1.zip


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...