Jump to content
Changes to the Jaspersoft community edition download ×

jasper server problem to pass request parameter


aaaaawgfdsgfdgd

Recommended Posts

Hi,

I have a problem with jasper server/ jasper report 6.6.0

I'll explain to you briefly:

I have configured a user on jasper report.
This user can access the reports through two links.

The difference between these two links is a parameter in request (code)

For example:

1st link https://<host>:<port>/<context path>?cf=XXXXXXX&code=A2nd link https://<host>:<port>/<context path>?cf=XXXXXXX&code=B

This link redirect to

https://<host>:<port>/<context path>/j_spring_security_check?j_username=XXXXXXX&j_password=MYPASS

If login success access to report:

https://<host>:<port>/<context path>/flow.html?_flowId=searchFlow

I would like to be passed on the report the parameter (code) that the user chose (A or B) .

I tried to set the Attribute for the user (LoggedInUserAttribute_code) and I set to the report Parameter $P{LoggedInUserAttribute_code} but this parameter is fixed. I can set A or B and it isn't the user's choice.

Can anyone tell me how to pass the parameter (code) from the request to the report?

I hope you understand the question.

Thank you so much

D.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...