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've created a generic logger. this logger captures the path of the calling fex, but it only works if the caller is on the client side, even though the logger.fex is on the reporting server.
In logger I use &IBIMR_fullpath to get the path of the fex, but this is empty if the calling fex is on the reporting server. Anyone tell me how to capture the path for a reporting server fex file?This message has been edited. Last edited by: <Emily McAllister>,
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
Gavin, if &IBIMR_fullpath is blank, then the fex exists on the reporting server or is an adhoc fex. If &FOCFEXNAME is equal to 'ADHOCRQ' then it's an adhoc request. For reporting server fexes, a combination of &APPROOT (or &APPPRIV, whatever that is) and &FOCFEXNAME should provide the full path (though you have to append '.fex'). Unfortunately, one parameter uses slashes, the other back slashes. Meanwhile, we have two reporting servers in a cluster - the code must be on both servers, so we would have to include the server name, which I don't know how to do.
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
I can't use APPROOT as that isn't setup in our linux version in PROD. Plus, when I use it in Dev, I get this, which isn't what I'm looking for.
APPROOT = E:\Webfocus\ibi\apps;
&APPPRIV gives me the following:
A VALUE IS MISSING FOR: &APPPRIV
And FOCFEXNAME is ADHOCRQ.
What I'm attempting to do is get the APPLICATION Name of which the fex is running under, so I need the full path as it is on the report server/client side. Example, if the path is IBFS:/WFC/Repository/MyApplication/ I want really want "MyApplication", which I'm parsing out at the moment. If there is an easier way, client side AND reporting server, I'm all ears.
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
If you're not using approot, how are reporting server application folders defined?
Sorry, I got confused, thinking of the usage, "/approot/myapp/myfile.fex", we can't use that as it's not defined in our Linux environment. Your speaking about the &APPROOT, which is always there, but that doesn't tell me what application within that approot folder I'm currently executing from, which is what I'm looking for.
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
Well, I made the same mistake and found a crazy discovery.. I was running the fex from appstudio, which means I never got what I was looking for. Then I ran it from the console, but via reporting server and it came back with just the name without the extension. Now get this.
If I'm in a fex that is doing an include on the logger fex, the &FOCFEXNAME has the FULL path and the extension of the calling fex, which is what I'm looking for.
I'm having one of those:
Welcome To FOCUS moments.
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
ok, take it all back, I saw a path and was too excited. &FOCFEXNAME is returning cc/log/logger.fex, no matter who the caller is from the reporting server. Being called from the content server, gives me the caller, since I'm doing an INCLUDE.
No consistency in this product.This message has been edited. Last edited by: GavinL,
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server