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.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
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);
}