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] drillRefresh doesnt work through Designer pages?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] drillRefresh doesnt work through Designer pages?
 Login/Join
 
Member
posted
Hi guys,

I'm working with a BI portal right now and I created a portal page containing three reports. The first two reports have the JavaScript drillRefresh attached to their data to refresh certain parameters on the same page which are used to alter the third report. Everything works fine so far.

But now I wanted to add an optional parameter to the third report and since the autoprompt window looks awful I wanted to use a designer page for the third report (or alternatively for the whole page) where I can put the parameter in a reducable segment. So now my new portal page looks like this:

report 1 --------- report 2
designer page with report 3

But it turns out that now the drillRefresh (with AMPERS_PAGE_ONLY) doesnt work anymore as if it cant target a designer page. Is there a way to make that work?
If I put all three reports on a designer page and incorporate that one in the portal it's the same result.

Alternatively I could maybe turn the third report into one that contains a html input form for the parameter and refreshes itself upon that but since I'm not really into the whole HTML-thing yet, I have really no idea how to exactly do that.

Working on WebFocus 8.2 right now but personally only have access to the page designer and text editor for reports, none of the other fancy tools.

This message has been edited. Last edited by: JForFun,
 
Posts: 13 | Registered: June 24, 2019Report This Post
Member
posted Hide Post
Minimal example:

Fex1:

SET JSURLS = '/ibi_apps/tools/portalcanvas/iframeinterface.js'

-DEFAULTH &CAR = 'BMW';

TABLE FILE CAR
BY COUNTRY AS '&CAR'
ON TABLE SET STYLE *
TYPE = DATA, COLUMN = N1, TARGET='_self', JAVASCRIPT=drillRefresh('AMPERS_PAGE_ONLY' 'COUNTRY' COUNTRY 'CAR' '&CAR'), $
ENDSTYLE

END

Fex2:

SET JSURLS = '/ibi_apps/tools/portalcanvas/iframeinterface.js'

-DEFAULTH &COUNTRY = 'ENGLAND';

TABLE FILE CAR
BY CAR AS '&COUNTRY'
ON TABLE SET STYLE *
TYPE = DATA, COLUMN = N1, TARGET='_self', JAVASCRIPT=drillRefresh('AMPERS_PAGE_ONLY' 'CAR' CAR 'COUNTRY' '&COUNTRY'), $
ENDSTYLE

END

Fex3:

-DEFAULTH &CAR = 'BMW';
-DEFAULTH &COUNTRY = 'ENGLAND';

TABLE FILE CAR
SUM
DEALER_COST
BY COUNTRY
BY CAR
WHERE COUNTRY EQ '&COUNTRY' OR CAR EQ '&CAR'

END

--> Putting all 3 in a portal page, everything works fine, I can click on the country and the car in the other two reports and all get refreshed accordingly.

Alter Fex3:

-DEFAULTH &CAR = 'BMW';
-DEFAULTH &COUNTRY = 'ENGLAND';

TABLE FILE BASEAPP/CAR
SUM
DEALER_COST
BY COUNTRY
BY CAR
WHERE COUNTRY EQ '&COUNTRY' OR CAR EQ '&CAR'
WHERE SEATS = '&SEATS'

END

--> Put Fex3 on a designer page, add the new SEATS-parameter in a segment. Then put all three in a portal page. Fex1 and Fex2 refresh according to what I click on, the page with Fex3 doesn't care at all.
 
Posts: 13 | Registered: June 24, 2019Report This Post
Virtuoso
posted Hide Post
JforFun

If you haven't already I suggest you open a case with techsupport to get help with this one.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Member
posted Hide Post
I worked my way around this problem with a combination of navigateToPage's. I'll close this for now even though I think it's a bug.
 
Posts: 13 | Registered: June 24, 2019Report 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] drillRefresh doesnt work through Designer pages?

Copyright © 1996-2020 Information Builders