Jump to content
Changes to the Jaspersoft community edition download ×

I want a dynamic report: Using the username as parameter to the "Where" condition in the SQL


danweifis

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi, I tried without success. Can you give me a hand, please. Also, I read it a lot and still nothing

I am using jasperserver 4.7.

In IREPOR: I have the following SQl

Select * from users where users=$P{LoggedInUsername}

The class definition of the parameter is: com.jaspersoft.jasperserver.api.metadata.user.domain.Use

without default value and prompt FALSE

In Jasperserver I am only uploading the JXML , I am not doing any control input.

Thanks

 

Daniel

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...