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] Multi-output fex with input parameters

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Multi-output fex with input parameters
 Login/Join
 
Platinum Member
posted
Hello,

I have a fex which generates the report both in HTML & Excel formats.. The report accepts input parameters through the HTML launch page and passes them to the fex upon clicking "Run Report" button on the launch page..

Some of my parameters are optional, just 1 input value is required to run the report.. I defaulted the optional variables to FOC_NONE (except the mandatory input parameter), but when I try to run the report in HTML or Excel format, the optional parameters show up with FOC_NONE written in the text box (in the fex) ...

How do I get the report to run without these optional parameters popping up on the fex?

Thanks!

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


WF 7.7.03, Win 7
 
Posts: 127 | Registered: January 12, 2017Report This Post
Virtuoso
posted Hide Post
Have you tried _FOC_NULL instead of FOC_NONE?


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Platinum Member
posted Hide Post
Tried _FOC_NULL too.. doesn't help... it still prompts for that optional variable...

Any other thoughts/ideas? Thanks!


WF 7.7.03, Win 7
 
Posts: 127 | Registered: January 12, 2017Report This Post
Master
posted Hide Post
Did you default with -DEFAULT or -DEFAULTH? -DEFAULTH will hide the prompt where -DEFAULT will still prompt the user but the the defaulted value pre-loaded.


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
 
Posts: 750 | Location: Warrenville, IL | Registered: January 08, 2013Report This Post
Master
posted Hide Post
Babak,

_FOC_NULL and FOC_NONE are the same thing. FOC_NONE is just the older version of _FOC_NULL. There are settings in the configuration to define what the ignore character is.


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
 
Posts: 750 | Location: Warrenville, IL | Registered: January 08, 2013Report This Post
Virtuoso
posted Hide Post
Nova,

You fex is probably in the "Managed Reporting" area (which is in WF7 version if your signature is good), isn't it ?

Right-click on your fex, Properties, then uncheck "Prompt for Parameters".


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Platinum Member
posted Hide Post
Using DEFAULTH worked.. Thanks Eric... Smiler


WF 7.7.03, Win 7
 
Posts: 127 | Registered: January 12, 2017Report This Post
Platinum Member
posted Hide Post
Hi Nova,

If your problems get solved, Please edit your title [SOLVED] or [CLOSED].


Thanks!
@vi

WebFOCUS 8105, Dev Studio 8105, Windows 7, ALL Outputs
 
Posts: 103 | Registered: July 08, 2013Report This Post
Master
posted Hide Post
The problem I have with DEFAULTH is that the HTML composer with loose the fact the report even cares about them and will not pass them in. WF8008




Scott

 
Posts: 865 | Registered: May 24, 2004Report This Post
Virtuoso
posted Hide Post
Eric,
You say:
quote:
_FOC_NULL and FOC_NONE are the same thing. FOC_NONE is just the older version of _FOC_NULL.

This is not quite exact. See the following:
  
-* File focnull.fex
-DEFAULTH &COUNTRY=FOC_NONE
-*DEFAULTH &COUNTRY=_FOC_NULL
TABLE FILE CAR
SUM SALES
BY COUNTRY
BY SEATS
WHERE COUNTRY EQ '&COUNTRY' AND SEATS GT 2;
END

If you run this with the DEFAULT FOC_NONE you will get all the COUNTRYs and all the SEATs.
However, if you use _FOC_NULL, you will get all the COUNTRYs but SEATS greater than 2.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Platinum Member
posted Hide Post
Hi Avinash,

I am new to the forum, I am not sure how to edit my post as [SOLVED] or [CLOSED]..

Please tell me how to..

Thanks!


WF 7.7.03, Win 7
 
Posts: 127 | Registered: January 12, 2017Report This Post
Expert
posted Hide Post
Edit the first post in this thread by clicking on the folder/pencil eraser icon, then prefix the subject with "[SOLVED] ".


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report 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] Multi-output fex with input parameters

Copyright © 1996-2020 Information Builders