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     [SOLVED]Page w/params, frame for results, working in DevStudio, not fully in Dasboard

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Page w/params, frame for results, working in DevStudio, not fully in Dasboard
 Login/Join
 
Member
posted
Hello All,

I have a page, with selection parameters at the top of the page and a larger size frame underneath to contain reports (outputs, produced by one FEX launched with the parameters provided in the URL).

When a button is pressed on parameters portion of the page, the URL is composed by adding the selected parameters to the URL used to invoke the entire page (also a FEX program).

The current page URL is obtained via window.location.href;

The new, parameter-supplied URL is used as follows: parent.frames['myframe'].location.href = myURLAndParms;


This set up works well and consistently on DevStudio (8.0.x).


However, when launched from a Dashboard (with a "load balance" and multiple application servers), it behaves differently, i.e. two possibilities:

(1) When the same application server is chosen by the "load balance", all global variables shared by the Dashboard (in !IBI.GLB.DEFAULT1, ...DEFAULT2, ... etc.) retain the values and accessible in the FEX (to set some default parameters), but nothing else happens, i.e. myURLAndParms does not seem to be launched at all (also checked by the admin on the back end, nothing got launched).

(2) When another application server is chosen by the "load balance", WebFOCUS log on screen appears (one more time, after the one needed to launch the Dashboard), the Dashboard-shared global variables do not contain any values, but the URL in myURLAndParms got launched, and the results later show in "myframe". Subsequent and different selected parameters can be used and the frame got populated with the updated URL accordingly, and also all links from the results shown on the frame work accordingly, also shown on the same frame, as intended.

Would any of you have an idea what happened here? On (1) the launch does not work, on (2) the second log in to WebFOCUS and the missing values in the global variables, which may be caused by the fact that a new session is launched, separate from where the Dashboard is.

Best regards,
-Simon

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8007 & 8201
Windows 10, All Outputs
 
Posts: 14 | Registered: April 18, 2017Report This Post
Member
posted Hide Post
Update:

when this statement:

parent.frames['myframe'].location.href = myURLAndParms;

is replaced by this one:

window.open(myURLAndParms, "");

All works well (also when launched from WebFOCUS Dashboard), with the exception that the new FEX and its outputs are shown on a new browser window.
However, my intention is still to get all to work on just one browser window, with the results to show within the frame of and on the initial browser window.

Best regards,
-Simon


WebFOCUS 8007 & 8201
Windows 10, All Outputs
 
Posts: 14 | Registered: April 18, 2017Report This Post
Member
posted Hide Post
Another (good) update:

All seems to work now!

The following is the statement that does the trick:

window.open(myURLAndParms, "myframe");

Cheers,
-Simon Red Face)


WebFOCUS 8007 & 8201
Windows 10, All Outputs
 
Posts: 14 | Registered: April 18, 2017Report 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     [SOLVED]Page w/params, frame for results, working in DevStudio, not fully in Dasboard

Copyright © 1996-2020 Information Builders