Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
birt integration/report parameters/security
Michenux
Hi,
I would like to integrate Birt in our application.
Our application has security : authentication & permissions.
Our reports will have 2 kinds of report parameters which will be used
in the query :
- parameters that can changed by the user (example: a starting/ending date)
- parameters that can not be changed by the user ( example : user id, geographical locations ).
To integrate Birt, i think i have 2 globals solutions :
- Use the birt web viewer.
- Use the Report Engine.
I think i can handle quite easily the report parameters using the report
Engine but it will need some developpment.
My question is if i can handle those two kind of parameters if i choose
to integrate the birt viewer :
- Non changeable parameters will be passed programmatically (how?).
More important : these parameters will not be displayed in the parameter form of birt viewer.
- Changeable parameters will be changeable by the user via the parameter
form of birt viewer.
Thanks for your help.
Find more posts tagged with
Comments
johnw
It might take some dev-fu trickery to do this in the BIRT Viewer. It used to be that you couldn't use POST to send parameter values to BIRT, but I believe that has been fixed. If not, I still have the original patch I submitted several years ago that could be applied to the web viewer if need be.
With that said, it is also possible to do other things like save those "parameters" in an environment variable and retrieve in the initialize event. since you are really using the id to authorize sections of the report to show, you would need to retrieve it in the initialize event and set a global variable. You could also try a hidden parameter.
Without knowing the full specs, thats about the best I can recommend.