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.

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.


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