mingyun Posted July 3, 2015 Share Posted July 3, 2015 Hi all.There are many clients. if one of clients want to see his reports, we have to make reports using information about him. How can I get his infromation from website to jaspersoft Studio and MySQL query? e.g : His unique Key in Database table. Link to comment Share on other sites More sharing options...
hozawa Posted July 3, 2015 Share Posted July 3, 2015 Use parameters. If you look at a report with parameter, you'll see that they are just part of an url. Link to comment Share on other sites More sharing options...
james.t Posted July 3, 2015 Share Posted July 3, 2015 If you are using the multi-tenancy feature then you can access the organisation id in a report query by creating this parameter in your report:$P{LoggedInUserTenantId}Similarly if you assign attributes to users you can access these using:$P{LoggedInUserAttribute_myAttributeName}wheremyAttributeName is the name of the attribute you have defined on the server. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now