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.
I am testing out using &&Variables and I have set a Global variable on my reporting server, but I run into a slight issue. On initial launch of my portal the global variable does not resolve, until I navigate to a second page in the portal.
I have a launch fex from Content(MRE) that launches an HTML (on the Reporting Server) which executes report fexes. The &&Variable is in the HTML, which is basically a URL for another application. I wanted to set these statically in the environment.
It’s like I need the Client to set the &&Variable so on initial launch it will have the value resolved.
Any thoughts?
Thanks,
MattThis message has been edited. Last edited by: MattC,
Jeeze Matt, that sounds like my problem. I'm on WF8 for the first time and my tricks with amper variables don't want to work. I don't see the value appear. If I get any insight I'll let you knw.
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007
Thanks for the suggestion, but I don’t think your suggestion will work in this situation. The Global Variable that I am trying to get resolved is in a HTML. Basically I have 4 environments (DEV,TEST,PQA,PROD) I have a URL link in the HTML that points to an application and it has it’s 4 environments. I am trying to set the variable for each environment so when we move this HTML, the HTML will not get promoted with a bad URL for another environment.
&&RDCVARIABLE does get resolved on the second drill , but on initial launch it doesn’t. I do have an alternate solution that would probably work. It’s more effort of course thats why I was trying to get Global Variables to work as it would be a slam dunk.
-SET &AHREF_LOCATION = 'HTTP://www.chouke.nl/' | &&RDCVARIABLE;
( or whatever you want as an URL build up with parameters )
-HTMLFORM BEGIN
<html>
<body>
<a href="&AHREF_LOCATION">your link here</a>
</body>
</html>
-HTMLFORM END
_____________________ WF: 8.0.0.9 > going 8.2.0.5
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010
I would have to extract the parts I need and put them into my HTMLs which are not developed in Composer.
I would also make it more dynamic and actually do a SQL call to a table where the APP URL's are stored. We do this for other appplications already, but this was kind of a unique situation where I was hoping it could be simplified by using Global Variables.
I don't know if things have changed in WF8, but in prior releases I have put this as a setting in site.wfs. Each environment (DEV,TEST,PQA,PROD) gets their the variable and unique value. This is achieved from the WF Client Admin Console > Configuration > Custom Settings.
Example:
DEV
# Pass the server name
CPSERV=dviappv02
<SET>CPSERV(pass)
QA
# Pass the server name
CPSERV=qaiappv05
<SET>CPSERV(pass)
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