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.
Does anyone have a technique for querying a servlet string and putting a part of it into a variable?
We have 4 environments, each URL is slightly different:
DEV - webfocus7dv6.company.com TEST - webfocus7tv6.company.com MODEL - webfocus7mv6.company.com PROD - webfocus7dv6.company.com
We need to be able to query the string, break it up and use it in the FOCEXEC. Right now we have to hard code it for each of the environments which is not the way to do it.
src=http://webfocus.7dv6.company.com/ibi/apps/mapps/companylogo.gif>' We are using websphere and the reporting server is on MVS and the client is on AIX if that matters. We are using 7.1.7 WebFOCUS.
Thanks for any suggestions.
WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
Posts: 146 | Location: Atlanta, GA | Registered: May 31, 2007
There exists a standard http header variable, that should always be available: Referer - This is the address of the previous web page from which a link to the currently requested page was followed. Also in WebFOCUS there must be a variable that contains this linked-from value. Search the forum for the term 'Referer' and maybe your answer is just there for the taking.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
Further to GamP's suggestion, if you add this to the "Custom Settings" in the Admin Console, you should be able to use the generated Dialogue Manager variable in for FOCEXEC:
# Indicates the URL of the referring Web page
<SET> HTTP_REFERER = &HTTP_REFERER (pass)
You can also add this:
# Server's host name or IP address
<SET> SERVER_NAME = &SERVER_NAME (pass)
These commands will create Dialogue Manager variables: &HTTP_REFERER AND &SERVER_NAME.
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