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)
Page number getting counted on hiding
Muthul
I have 2 tables in my design. One for Excel output and the other table for rest of the output formats.
Using hide visibility option, I was able to hide the content but however the processing happens and the page numbers getting counted for both outputs.
I know dropping table will avoid processing and can be achieved by overridding before factory method but let me know how to verify if the request is for excel
Table_1 = reportContext.getReportRunnable().designHandle.getDesignHandle().findElement("Table1");
Table_2 = reportContext.getReportRunnable().designHandle.getDesignHandle().findElement("Table2");
if (Condition true){
Table_2.drop();
}
else if (Condition false) {
Table_1.drop();
}
My Question is how condition can be applied to determine it is excel request or other format request.
Attaching sample design for your analysis.
Please suggest if you kow any other options as well.
Thanks and Regards,
Muthul.
Find more posts tagged with
Comments
mwilliams
The check for this is: if (reportContext.getOutputFormat() == "xls")
Muthul
Thank you Michael for your help.
mwilliams
You're very welcome!