Same report; Different Input Control

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email with questions or issues requiring TIBCO review or response.

I am designing a new Jasper report using Jaspersoft Studio and I want to attach different input control for different users.

For instance, for user 1, assign to input_control_1. And this will allow user 1 to select a set of regions from input_control_1.

If user 2 logins, the same report must be attached to input_control_2, so he/she will have different set of regions.

Any suggestion on how this can be accomplished.

Thank you

PS: I tried profile attributes, but that allows me only to filter after the fact. For instance, my report is sales output, and it will give all output for all the region configured for user 1. But I am looking for a way, where it will prompt all the regions and allow user to choose 1 region and give sales output for that region. I want to control which region a user is allowed to see.

feellikeneo's picture
Joined: Sep 18 2016 - 1:53pm
Last seen: 4 years 6 months ago

2 Answers:

This may not be the best solution, but have you just tried to create 2 input control first for your different users and then uploading the report 2 times and specifying different input controls.


hozawa's picture
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 3 weeks ago

Yes, I tried. But I want to avoid two copies of same report and avoid maintenance overhead.

feellikeneo's picture
Joined: Sep 18 2016 - 1:53pm
Last seen: 4 years 6 months ago