Custom User Styles


We are developing a common report for different users where users can chose their styles.

Is there a way in Jasper to add multiple styles to the report and the user can chose the style in runtim?

Thank you

sebouhh's picture
Joined: Apr 16 2019 - 6:18am
Last seen: 3 weeks 5 days ago

You can try as below:

1) create a style template and apply the styles to the report.

2) create a copy of the style created at first step and then edit the styles with no changes to the names.

3) In the report create a string parameter.

4) In the report where the template has been added just click on expression editor and add the parameter created before.

5) Now when running the report just specify the template name as Input control value.

You may create a single select list of template name as values so that users can choose any one.

Hope this helps

sthomas_3 - 4 weeks 7 hours ago

0 Answers:

No answers yet