Focal Point
[CLOSED] Is there a way to programagicly toggle the visibility of a BI Portal Panel?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3737052686

April 27, 2017, 02:30 PM
Don Garland
[CLOSED] Is there a way to programagicly toggle the visibility of a BI Portal Panel?
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
April 27, 2017, 03:56 PM
eric.woerle
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
April 28, 2017, 11:18 AM
Don Garland
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
April 28, 2017, 11:44 AM
Doug
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
April 28, 2017, 12:00 PM
Don Garland
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
April 28, 2017, 03:07 PM
David Briars
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?
April 28, 2017, 04:05 PM
Don Garland
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
May 01, 2017, 11:25 AM
Don Garland
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