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.
Hi, I have an application using HTMLFORMS, Tables, Modify and Maintain. As everybody knows, Maintain spawns a new agent clearing out all global variables. Does anyone have a technique to securely store the global variable value and retrieve it whenever required. Thank you, Nick
WebFOCUS 7.7.03 & 8.0.7 Windows HTML, Excel, PDF, etc. Also, using Maintain, etc.
Something not very well documented: one can save the LET commands with LET SAVE and also all the && variables are saved. LET SAVE creates a file called LETSAVE.FEX in a temporary folder. You can copy it to a permanent folder and reuse it.
-* File LET0.fex
-SET &&L1=ABCD;
-SET &&L2=1234;
-RUN
LET TFC=TABLE FILE CAR
-RUN
LET SAVE
-RUN
! TYPE LETSAVE.FEX
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, 2006
Hi Daniel, Thank you for the quick response. LET SAVE does save the global variables and can be copied to a permanent file but this application will be used by hundreds of users, so, permanent files are not practical. Any ideas? Thank you, Nick
WebFOCUS 7.7.03 & 8.0.7 Windows HTML, Excel, PDF, etc. Also, using Maintain, etc.
we're taking for granted that you do in fact know the difference between &var and &&var ? When you say 'global', you suggest &&var... but when you say things like 'this application', you're suggesting &var... Clarify, plz.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
If the maintain gets started by clicking on a button, then you start it from an html page. At the moment you present your html page, you know what the &&'s are. So you could then create as much hidden text fields on your html form as there are &&'s and fillthem with the current value of the &&'s. Then, in your maintain, you could use the html retrieval commands to obtain the values of the html fields.
Hope this helps ...
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
Hi All, After trying many of your techniques, others received from IBI and some blended approaches, global variables are now saved as session variables. Session variables are saved upon entry to the application then recalled and global variables reset. Maintain receives the global variables as follows: COMPUTE XDEPT = IWC.GetAppCGIValue("DEPT"); So far, this is working but I need to now enforce security and test a number of scenarios.
If anyone knows any issues with this approach, please advise.
Also, I am a seasoned FOCUS professional who started the IBI Hotline, managed it for six years, wrote the FOCUS DB, TABLE and MODIFY internals classes and designed and build many large and complex systems using MF/VAX FOCUS. Using WebFOCUS for internet applications is new to me as is javascript but I'm a relatively quick learn.
I will post updates utilizing this approach within the next few days.
Thank you again, Nick
WebFOCUS 7.7.03 & 8.0.7 Windows HTML, Excel, PDF, etc. Also, using Maintain, etc.