Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Is there a way to programagicly toggle the visibility of a BI Portal Panel?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Is there a way to programagicly toggle the visibility of a BI Portal Panel?
 Login/Join
 
Guru
posted
I have an existing BI Portal Dashboard, with an parameter page and a requirement to add date range control. The problem is, parameter page (panel/iframe) does not have enough room to allow the date picker to display and changing the dashboard design is not desirable.

I'm wondering if I could add a separate (date range) panel (initially hidden) with the Calendar Control and a date range button to the existing parameter page.

The idea is that when the user selects a "date range" button, the date range panel displays. The user makes their date selections, then selects an OK button on the date range panel which hides the date range panel and refreshes the dashboard, charts and reports with the new date range.

But, working with the parameter pages embedded JavaScript button1_onclick event, I can not find a way to access the date range panels id to toggle the visibility.

Has anyone accomplished anything like this in the BI Portal?

This message has been edited. Last edited by: Don Garland,


WebFOCUS Administrator @ Worldpay FIS
PROD/DEV/TEST: 8204, SANDBOX: 8206 soon - BIP, Reportcaster, Resource Manager, EUM, HyperStage soon, DB: HIVE,Oracle,MSSQL
 
Posts: 291 | Location: Greater Cincinnati  | Registered: May 11, 2005Report This Post
Master
posted Hide Post
Can you add it as a pop up? So when you click on the "date range" button, a panel pops up with your date range selections?

If you are using jquery, look at Dialog . It will do what you need. Otherwise, you can build a div at the end of the page with a display of none. Clicking on the button would change the value of the display to 'inline-block' or what ever you wanted it to be. Using absolute positioning you can have it sit on top of your filters, and then put a "done" or "ok" button in the div to hide the parameters again.


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, 2013Report This Post
Guru
posted Hide Post
Eric, so this method will pop up a dialog box outside of the panel (iframe)?


WebFOCUS Administrator @ Worldpay FIS
PROD/DEV/TEST: 8204, SANDBOX: 8206 soon - BIP, Reportcaster, Resource Manager, EUM, HyperStage soon, DB: HIVE,Oracle,MSSQL
 
Posts: 291 | Location: Greater Cincinnati  | Registered: May 11, 2005Report This Post
Expert
posted Hide Post
Hey Don, Smiler
Are you using the "Calendar Control" withing the "Composer"? If so, I'm guessing that your parm page is just too small to show that display?




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Guru
posted Hide Post
Doug! how have you been?
You are correct.

I have a HTML document, parameter page inserted into a portal page panel.
[IMG:left]
Image and video hosting by TinyPic[/IMG]

When the user selects the calendar control, the date picker is hidden and can not get out of the panel (iframe).
[IMG:left]
Image and video hosting by TinyPic[/IMG]

I'd like to figure out how to have the date control pop up in it's own iframe as described in the original post.

This message has been edited. Last edited by: Don Garland,


WebFOCUS Administrator @ Worldpay FIS
PROD/DEV/TEST: 8204, SANDBOX: 8206 soon - BIP, Reportcaster, Resource Manager, EUM, HyperStage soon, DB: HIVE,Oracle,MSSQL
 
Posts: 291 | Location: Greater Cincinnati  | Registered: May 11, 2005Report This Post
Master
posted Hide Post
quote:
...When the user selects the calendar control, the date picker is hidden and can not get out of the panel (iframe)...

Are you able to set the z-index property of the calendar control? If so, perhaps try to increase the value?
 
Posts: 822 | Registered: April 23, 2003Report This Post
Guru
posted Hide Post
I haven't found a way to get the element id of a panel. Those ids are generated every time the portal runs.


WebFOCUS Administrator @ Worldpay FIS
PROD/DEV/TEST: 8204, SANDBOX: 8206 soon - BIP, Reportcaster, Resource Manager, EUM, HyperStage soon, DB: HIVE,Oracle,MSSQL
 
Posts: 291 | Location: Greater Cincinnati  | Registered: May 11, 2005Report This Post
Guru
posted Hide Post
Opened a case with tech support and they confirmed.... "Unfortunately I don't think you can programmatically change panel attributes, although this is a new feature in Product Management.

You can do something similar with an HTML page, though, as you can hide/display any element on the page dynamically....."


WebFOCUS Administrator @ Worldpay FIS
PROD/DEV/TEST: 8204, SANDBOX: 8206 soon - BIP, Reportcaster, Resource Manager, EUM, HyperStage soon, DB: HIVE,Oracle,MSSQL
 
Posts: 291 | Location: Greater Cincinnati  | Registered: May 11, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Is there a way to programagicly toggle the visibility of a BI Portal Panel?

Copyright © 1996-2020 Information Builders