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.
Inside a fex procedure, how do I access an HTTP parameter that was passed in? Does anyone know where in the documentation I can read about how to do this? Thanks
Thanks Vipul. So the fact that ther eis an & before the variable indicates that it is to be read in from http, and the DEFAULT says to default it to 1000?
'&' defines it as a Dialog manager variable. -DEFAULT &VAR says to default the value (could be anything, 1000 was just an example) the value from your url param will override this value.
What subroutine or function are you using? Is it WebFOCUS, FOCUS or iWAy? Documentation Services can give you better idea of where to find teh right doc once you've told us this info.
Well basically, I just to print in the heading of a report the value of an http parm that was passed into the report. I have something like this:
-* File Test5.fex
TABLE FILE sometable -* Generated by Report Assist -DEFAULT &REPORT_ID = '0'; HEADING CENTER "REPORT #" &REPORI_TD PRINT NODE_ID NODE_name NM WHERE RECORDLIMIT EQ 100 ON TABLE SET ONLINE-FMT HTML ON TABLE SET HTMLCSS ON ON TABLE SET PAGE-NUM OFF ON TABLE SET STYLE DEFLT END
We are in the process of exploring efficient ways to more tightly tie together Documentation Services and Focal Point and are currently testing different scenarios.
In the interim, we ask that users continue to download documentation and manuals by logging in on the CTSS site with your InfoResponse ID.
Leah, It seems correct to me, but I'm getting the error "0 ERROR AT OR NEAR LINE 14 IN PROCEDURE __T00000FOCEXEC * (FOC007) THE REQUEST STATEMENT DOES NOT CONTAIN A VERB"
here's the code:
-* File Test5.fex -DEFAULT &REPORTID = '1000'; TABLE FILE MY_FILE -* Generated by Report Assist HEADING CENTER "REPORT #" &REPORTID
PRINT fname, lname WHERE RECORDLIMIT EQ 10 ON TABLE PCHOLD FORMAT &FMT ON TABLE SET HTMLCSS ON ON TABLE SET PAGE-NUM OFF ON TABLE SET STYLE DEFLT END
Note that you put the " at the beginning and end of each line of HEADING. When you put the &var in the HEADING the value assigned to it gets inserted wherever you put it. It must be inside the HEADING line.
Also, you don't need the comma between the list of fields you are printing, only a space.
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003