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     Webfocus 8.104 Drill Down &Variables Wont Work SOLVED

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Webfocus 8.104 Drill Down &Variables Wont Work SOLVED
 Login/Join
 
Member
posted
Hello guys !

I have a .fex program which has an html form at the end of it.The program gets its &variables from a drill down link.

The URL that generates the program ends like this /Advanced_Claims_Reports/cmsfbr99.fex&CLICKED_ON=&INSD_CLAIMNO=02398%20%20%20001&DATE_OF_LOSS=01021995. As you can see I am receiving the variables &INSD_CLAIMNO and &DATE_OF_LOSS...etc

Now I also want the user to be able to access additional forms with these same variables if they want to. So I coded them in my fex and they are accessible using a IF statement.

-IF &RUNDIARY EQ 'YES' GOTO RUNDIARY ;

Now the way I got the user selection is simple. I created a Javascript button that when pressed redirects the page to itself but adds the amper variable to the end of my URL. It looks like this

function rundiary() {
location = location + "&" + "RUNDIARY=YES" ;

Which when pressed refreshes my page with the URL

/Advanced_Claims_Reports/cmsfbr99.fex&CLICKED_ON=&INSD_CLAIMNO=02398%20%20%20001&DATE_OF_LOSS=01021995&RUNDIARY=YES. Now the RUNDIARY has been added and equals YES.

This would trigger my IF statement and the program that generates that form would run.This all worked fine on WEBFOCUS 7610 but when I migrated the program to WEBFOCUS 8104 it stopped working. The page refreshes goes out of view real quick and then comes back without having created the form. I do not understand why this method will not work anymore and I am at my whits end. If anybody could help in anyway I would really appreciate it !

-Thank you for your time !

This message has been edited. Last edited by: Pak Protector,


WF 8.1.03
Windows 7 64 bit
 
Posts: 5 | Location: New York,New York | Registered: May 08, 2015Report This Post
Master
posted Hide Post
migration gives you some issues...

First make a new fex that drills to the .fex you have.

See if the drillpath has changed.

Second.
Does the page work if you add the RUNDAIRY manually to the url?

Greets,
Dave


_____________________
WF: 8.0.0.9 > going 8.2.0.5
 
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010Report This Post
Member
posted Hide Post
Thank you for replying !

So I have done the suggestions that you have given me. The drillpath did not change and RUNDIARY would run if you took it out of my report and ran it as a separate fex in AppStudio with parameters added. But I also found the answer for my problem.

Before I passed the RUNDIARY=YES &Variable I was using SET &RUDIARY=NO to set a DEFAULT value. For some reason when I drill back down into the report the RUNDIARY=YES in the URL would NOT override my SET command. I think that WEBFOCUS 8104 gives a stronger "weight" to the SET command. It was overriding the values being passed into the report from the URL !!!!

So I used -DEFAULT &RUNDIARY=NO to set the DEFAULT value. NOW when I reload the page with &RUNDIARY=YES the value is passed on to the .fex

If you are using WEBFOCUS 8104 DO NOT USE SET TO SET DEFAULT VALUES !!!

Thank you very much for taking the time to reply Dave I really appreciate it!


WF 8.1.03
Windows 7 64 bit
 
Posts: 5 | Location: New York,New York | Registered: May 08, 2015Report This Post
Expert
posted Hide Post
quote:
DO NOT USE SET TO SET DEFAULT VALUES !!!

Applies to every release, not just WF8.

If you have amper-auto-prompting turned on and you wish to hide a variable from being prompted, then use -DEFAULTH.


T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report 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     Webfocus 8.104 Drill Down &Variables Wont Work SOLVED

Copyright © 1996-2020 Information Builders