Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Click on report to refresh portal
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Click on report to refresh portal
 Login/Join
 
Gold member
posted
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
 
Posts: 66 | Registered: May 20, 2013Reply With QuoteReport This Post
Master
posted Hide Post
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
 
Posts: 750 | Location: Warrenville, IL | Registered: January 08, 2013Reply With QuoteReport This Post
Gold member
posted Hide Post
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
 
Posts: 66 | Registered: May 20, 2013Reply With QuoteReport This Post
Master
posted Hide Post
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
 
Posts: 750 | Location: Warrenville, IL | Registered: January 08, 2013Reply With QuoteReport This Post
Master
posted Hide Post
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
 
Posts: 750 | Location: Warrenville, IL | Registered: January 08, 2013Reply With QuoteReport This Post
Master
posted Hide Post
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
 
Posts: 578 | Registered: October 01, 2014Reply With QuoteReport This Post
Gold member
posted Hide Post
Thanks for the responses! I'll give these a try.


WebFOCUS 8.2.03
z/OS
 
Posts: 66 | Registered: May 20, 2013Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Click on report to refresh portal

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.