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.
-SET &&YRLESSFIVE = (&DATEYY - 5);
-SET &&YRPLUSFIVE = (&DATEYY + 5);
-SET &YRLESSFIVE = &&YRLESSFIVE;
-SET &YRPLUSFIVE = &&YRPLUSFIVE;
-HTMLFORM BEGIN
<SPAN>How come these GLOBAL variables do not resolve?</SPAN><BR>
<SPAN>!IBI.GBL.YRLESSFIVE;</SPAN><BR>
<SPAN>!IBI.GBL.YRPLUSFIVE;</SPAN><BR>
<BR>
<SPAN>But yet if I set these LOCAL variables equal to the GLOBAL variables it works!</SPAN><BR>
<SPAN>!IBI.AMP.YRLESSFIVE;</SPAN><BR>
<SPAN>!IBI.AMP.YRPLUSFIVE;</SPAN><BR>
-HTMLFORM END
This message has been edited. Last edited by: Dan Pinault,
7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
Posts: 393 | Location: St. Paul, MN | Registered: November 06, 2007
Waz, I want to use the values in a JavaScript function. Yes, yrlessfive and yrplusfive can be declared in JavaScript but I have other global variables I want to use this way too.
7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
Posts: 393 | Location: St. Paul, MN | Registered: November 06, 2007
Darn syntax! Geez, shouldn't the system know what I meant?!? Thanks for the extra set of eyes.
OK - here is the scenario I'm using this in: The global variables are defined either in the server profile or the group profile (depending on the variable). I built a simple HTML page in the Composer that just shows these variables as text objects. If I run the HTML page by itself the variables do not resolve. However, if I create a fex that has
-HTMLFORM app/webpage.htm
then the variables resolve.
Does this mean I need to launch the web page from a fex if I want to use these variables or is there some similar mechanism that can be used in the HTML page itself?
Thanks again!
Dan
7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
Posts: 393 | Location: St. Paul, MN | Registered: November 06, 2007
Yes, that is exactly how we architect. All programs are done on the server. All calls to these programs are from MRE.
So, we have: 1 place to modify a program Calls from MRE invoke all the .wfs script files which may include security fex's. -MRNOEDIT -INCLUDE app_folder/PROGRAM.FEX -MRNOEDIT -HTMLFORM app_folder/PROGRAM.HTM