I have a report on my portal page that has the illusion of a button, but it's actually a report. Is there a way to refresh the BI portal when a user clicks anywhere inside of the report?This message has been edited. Last edited by: <Kathryn Henning>,
WebFOCUS 8.2.03 z/OS
June 05, 2015, 03:49 PM
eric.woerle
Why not actually make the report a button of 100% width/height?
Eric Woerle 8.1.05M Gen 913- Reporting Server Unix 8.1.05 Client Unix Oracle 11.2.0.2
June 05, 2015, 04:03 PM
Joel Elscott
I've considered that, but my report has some advanced styling. It's a "Big Number Gadget" that they showed at Summit this year. I'm not sure how to post a picture on this forum, but a button wouldn't be able to achieve the styling/formatting that I need.
WebFOCUS 8.2.03 z/OS
June 05, 2015, 04:10 PM
eric.woerle
Ahh, I see.
Mmaybe hold the report as output HTML, and use -HTMLFORM. Create a div tag with the onClick property and JS you need. Then use !IBI_FIL to put the report into the Div tag.
Eric Woerle 8.1.05M Gen 913- Reporting Server Unix 8.1.05 Client Unix Oracle 11.2.0.2
June 05, 2015, 04:16 PM
eric.woerle
TABLE FILE CAR
PRINT COUNTRY CAR SALES
WHERE RECORDLIMIT EQ 1
ON TABLE HOLD AS MY_BUTTON FORMAT HTML
END
-HTMLFORM BEGIN
<BODY>
<DIV onclick='myFunction[)'>
!IBI.FIL.MY_BUTTON;
<DIV>
</BODY>
-HTMLFORM END
Something along these lines?
Eric Woerle 8.1.05M Gen 913- Reporting Server Unix 8.1.05 Client Unix Oracle 11.2.0.2
June 09, 2015, 09:03 AM
GavinL
You can put a drill down behind the "button", on click instead of a URL, you can just put this instead.
"javascript:_top.location.reload();"
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server