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.

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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] WF8 Portal REFRESH_ARRAY

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] WF8 Portal REFRESH_ARRAY
 Login/Join
 
Gold member
posted
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.


Thanks

This 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, 2012Report This Post
<Kathryn Henning>
posted
Hi Jasen,

Please open a case on InfoResponse Online so that we can work with you on this.

Thanks and regards,

Kathryn
 
Report This Post
Master
posted Hide Post
I have the same issue as the OP - How to set up function call for refresh type REFRESH_ARRAY?

The BIP manual only gives an example of refresh type 'REFRESH_ALL_BUT_SELF'.

The manual lists four other refresh types, but doesn't seem to indicate how the parm(s) to be sent to the refresh function, may or may not change.
 
Posts: 822 | Registered: April 23, 2003Report This Post
Gold member
posted Hide Post
Hi,
Question - does the "Run" button have target also? Like execute report in that Panel 2? In that case you can use "target" in HTML composer.

Regards,


Release: WebFOCUS 8104, AppStudio: 8105
OS: Windows
Output: HTML,Excel,Active Reports
 
Posts: 89 | Registered: November 19, 2013Report This Post
Gold member
posted Hide Post
I have opened a support ticket. The case number is 10843532


WebFocus 8.002
PMF 8.2.3
Windows, all output
 
Posts: 76 | Location: Minnesota | Registered: December 28, 2012Report This Post
Master
posted Hide Post
@Jasen – Thank you for the update.

@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.
 
Posts: 822 | Registered: April 23, 2003Report This Post
Gold member
posted Hide Post
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, 2012Report This Post
Gold member
posted Hide Post
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, 2012Report This Post
Master
posted Hide Post
Thats great Jasen.

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);
}  
 
Posts: 822 | Registered: April 23, 2003Report This Post
Guru
posted Hide Post
Is there a way to just get some of the ampers?


 
IbComposer_getAllAmpersValues
 


WebFOCUS 8.1.05
 
Posts: 496 | Registered: January 04, 2008Report 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] WF8 Portal REFRESH_ARRAY

Copyright © 1996-2020 Information Builders