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.
This could be a very handy technique. For instance, when you click on a hyperlink (drilldown) with many many parameters which will generate an URL that will exceed the maximum length for an URL.
Just write (all) ampers to a file in the FOCCACHE directory with an unique name and add this filename to the parameters in the drilldown definition in your fex.
In the fex that is called by the hyperlink, include this fex and all parameters are set.
That doesn't seem to work here, not sure why as we're on v7.7.04 as well. We use FOCCACHE all the time, so it's certainly enabled...
Adding:
WHENCE inc_amp FOCEXEC
-RUN
Results in: (FOC1892) FILE NOT FOUND : inc_amp FOCEXEC
Anyway, intriguing feature. I had been wondering whether it would be possible to obtain a list of parameters like this to aid in creating/maintaining drilldown parameter lists by simply modifying a copy of the parameter list of the current procedure.
For example, creating EXL2K output for the current report could then be done by something similar to:
Of course, the current list of params isn't formatted correctly for using directly in a STYLE declaration. It would also be convenient to be able to prune parameters from that list that aren't needed in the drilldown (or that are to be replaced with the same parameter(s) with a different value).
Any chance this could work something like this?:
-? & HOLD FOCCACHE/paramList
-RUN
TABLE FILE paramList
PRINT VALUE
BY PARAMETER
END
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
This is a brilliant technique for a quick way to save/retrieve all parms. But, I am looking for a way to save all parms as fields in a .foc or some table to retrieve in future. Almost like buidling Save Selection on Portal. Please advise if theres an easy way. I have a not so elegant way to create define for each parm and PRINT/HOLD and then keep appending by -MORE as we different users run diff selection.
Yes, more likely, I'll have it HOLD as focus table the first time then keep appending each time when they run the report request as an INCLUDE. Thanks for the feedback guys !