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.
New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.
What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.
During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.
I have a portal page with 2 panels and 9 reports each on a seperate tab. I only want to refresh the first report Panel 2, Tab_1_1 when I click the run button in Panel 1. I have seen in the manuals I can use BipIframeInterface.REFRESH_ARRAY, but how do I write/ store data in this array? Any help would be appreciated.
ThanksThis message has been edited. Last edited by: Jasen,
WebFocus 8.002 PMF 8.2.3 Windows, all output
Posts: 76 | Location: Minnesota | Registered: December 28, 2012
@SSander – Thank you for your thoughts. I am using the 'run button' you get automatically, when you create a form in HTML Composer. I do not see 'target' as one of its listed properties. In any event, the BIP Portal manual seems to want you to create a JavaScript function, which is triggered upon clicking the run button. Jasen's and my question has to do with setting up a call to an IB supplied function, which is run from the triggered function.
Here is what support sent me. I have not gotten this to work yet as I get a Object Expected error.
function refreshReports(){ var name = this.window.name; var frameArray = ["Panel_7_2"]; parent.BipIframeInterface.setAllAmpersValues(name, IbComposer_getAllAmpersValues(), parent.BipIframeInterface.AMPERS_PAGE_ONLY); parent.BipIframeInterface.refresh(parent.BipIframeInterface.REFRESH_ARRAY, name, frameArray, parent.BipIframeInterface.AMPERS_PAGE_ONLY); }
frameArray is just an array of strings with the names of the frames you want to refresh (for REFRESH_ARRAY), or those you want to exclude (for REFRESH_ALL_BUT_ARRAY)
It can be declared like this: var frameArray = ["frame1", "frame2", "frame3"];
Also: The last parameter in setAllAmpersValues and refresh - parent.BipIframeInterface.AMPERS_PAGE_ONLY - is just to optimize the execution, it can be left out entirely.
WebFocus 8.002 PMF 8.2.3 Windows, all output
Posts: 76 | Location: Minnesota | Registered: December 28, 2012
I finally got this to work. I was trying to use it with a tabbed report. I had to delete the old tab and create a new one for it to work for some reason.
WebFocus 8.002 PMF 8.2.3 Windows, all output
Posts: 76 | Location: Minnesota | Registered: December 28, 2012
I got my refresh, for one particular panel working as well. Here is the code that worked for me:
function refreshReports(){
var name = this.window.name;
var frameArray = ["Panel_7_2"];
// Refresh only Panel 7 2.
parent.BipIframeInterface.setAllAmpersValues(name, IbComposer_getAllAmpersValues());
parent.BipIframeInterface.refresh(parent.BipIframeInterface.REFRESH_ARRAY, name, frameArray);
}