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)
How to generate report based on Page Numbers ?
bholenath
Hello,
Is there a way with which I can generate report based on the page numbers -- e.g. say from Page No. 3 to Page No. 10 or from Page No. 3 onwards etc.
A practical scenario will be client skipping the initial pages of literature in a report and generating the report from data segment -- say, starting from page 3.
Is there a way for achieving the same -- through Java API or through parameter + scripting ??
The BIRT version I'm using is 2.2
If someone knows any inputs over the same, please do reply. Many thanks in advance,
Cheers,
Amit
Find more posts tagged with
Comments
bholenath
Hello,
Any inputs over the query, please ? I would like to know if this is possible in the first place itself, or not ?
Looking forward for 'any' update on this issue.
Thanks in advance,
Cheers,
Amit
mwilliams
Hi Amit,
The viewer allows you to select page numbers to export/print. Everything the example viewer does is with the BIRT APIs, so it would be possible to write some java that uses the APIs to only display a select group of pages.
A simpler thing you could do that may or may not work for your situation would be to put the "initial literature" in its own grid or table and you could use the visibility function in BIRT to not display or to display this section of the report when you run it, depending on what it's being run for.
Hope this helps.
bholenath
Thanks for the reply, Michael.
The suggested approach of having a grid/table and controlling its visibility could be an alternative -- but that doesn't suffice for my requirement.
Our requirement is very specific -- to generate the report from the page number specified by user.
Isn't there a way with which I can stop a page being generated -- say, using a custom page handler ? Any other inputs from your side will be a great help to me.
Many thanks in advance,
Cheers,
Amit