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] Receive Variables passed from URL and others

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Receive Variables passed from URL and others
 Login/Join
 
Member
posted
Hi all. New to WF (using Dev Studio 7.1.1)...

I'm integrating a Web Focus report with some internal application, which will pass a variable and launch the web focus report. My question is, has anyone used web focus in any way to receive that variable and pass it to the report (&___)?

I know of passing the variable in a URL (http://...fex&variablename=blablabla), but is there a way to accept it using something else? (i.e., Javascript, Perl, etc)?

Any help would be a huge lift! Thanks in advance!!

This message has been edited. Last edited by: Kerry,


Web FOCUS Developer Studio v7.1.1, 7.6.4
 
Posts: 2 | Registered: October 07, 2008Report This Post
Gold member
posted Hide Post
Dominick,

this is how I use webfocus and javascript together. Hope this helps!

  
DEFINE FILE Car
PICK/A80=IF (make EQ 'jaquar') THEN
      'document.mychoices.RNID.options(1).selected = true;' ELSE
        IF (RNID EQ 'ford') THEN
      'document.mychoices.RNID.options(2).selected = true;' ELSE
        IF (RNID EQ 'nissan') THEN
      'document.mychoices.RNID.options(11).selected = true;' ELSE ' ';       
END

TABLE FILE CAR
PRINT PICK 
ON TABLE HOLD AS XCAR FORMAT ALPHA
END
-RUN


-HTMLFORM BEGIN
<HTML>
<SCRIPT LANGUAGE="JavaScript">

function LoadRadios() {
!IBI.FIL.XCAR

;


WF 7.6.10 /IIS 6/ JBoss Enterprise 4.3
Windows XP SP 2/Windows 2003 Server
MVS 7.3.3
 
Posts: 76 | Location: Hartford, CT | Registered: August 30, 2005Report This Post
Gold member
posted Hide Post
 
<FORM NAME =mychoices action="/ibi_apps/WFServlet" ;
<table>
<TR><TD>car:</TD>
    <TD><SELECT NAME="RNID">
	<OPTION VALUE='xxx'>Select car
	<OPTION VALUE='JAGuar'>Jaguar	
	<OPTION VALUE='ford'>ford
	</Select>
	</TR>
</table>

 


sorry forgot to add this to know what box to pick


WF 7.6.10 /IIS 6/ JBoss Enterprise 4.3
Windows XP SP 2/Windows 2003 Server
MVS 7.3.3
 
Posts: 76 | Location: Hartford, CT | Registered: August 30, 2005Report This Post
Member
posted Hide Post
Great, thanks so much - huge help!


Web FOCUS Developer Studio v7.1.1, 7.6.4
 
Posts: 2 | Registered: October 07, 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     [SOLVED] Receive Variables passed from URL and others

Copyright © 1996-2020 Information Builders