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 :
Now if you create a Adhoc Report using this template it will look like this :
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 ..
The three files :
- Jaspersoft is the logo
- JaspersoftTemplate is the JRXML defining the report template
- JaspersoftTemplateAdhocStyles is the container holding the style information.
In order to customise the template you simply change the JRXML file accordingley
Rename, change, add, remove and play ..
Lots more you can do by playing with the Styles .. But this should get you started.
Recommended Comments
There are no comments to display.