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)
Report Viewer paging problem when other report parameter present
bosy
Hi,
I have a problem with direct links to a page of report. I was trying __page=X parameter and it works. But it stops working when the report has some report parameters. When there is a report parameter, than the Parameter Dialog is displayed and after confirmation the first page is displayed - not the page requested using '__page=X' parameter. When ther is no other report parameter everything works well.
It looks like it is a bug in viewer, or do I something wrong?
I am using BIRT Viewer packed with BIRT 2.5.1.
BTW is there any way how to find out what version of viewer am I using? Or is it simply same as version of BIRT?
Thank you
Roman
Find more posts tagged with
Comments
mwilliams
Hi Roman,
If you're using the viewer from 2.5.1, then the viewer you'd be using would be 2.5.1 as well. If you have a viewer installed on a machine and you don't know the version it came from, you can go to the file location where the viewer is installed and look at the file names in viewer -> web-inf -> platform -> plugins and look at the version info on any plugin starting with org.eclipse.birt.
As for the problem with the page parameter and your page number parameter, it's happening this time any time you have a report parameter?
bosy
Hi Michael,
yes, it is happening any time the report have a report parameter. I tested it by following steps:
1. created brand new Web Dynamic Project with BIRT facet
2. created new report with Classic Models Data Source and simply designed it to show some multipage table (eg. customers)
3. run the viewer
4. accessed page number 5 using '&__page=5' added at the end of default report's URL -> page 5 was displayed
5. added new simple report parameter (not used in report at all)
6. reloaded page -> Parameter Dialog shown -> confirmed -> page number 1 was displayed even that '&__page=5' is still present in the URL
Hope it will help.
Please let me know if it is bug and if you know than about the patch or workaround.
Thank you
Roman
mwilliams
Roman,
I see the same if you have a parameter box popping up. If you already have values for the parameter in your URL or have default parameters and don't need the actual parameter value chosen, you can also add &__parameterpage=false to your URL and it will go to the expected page without popping up the parameter box.