Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Including Procedures

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Including Procedures
 Login/Join
 
Gold member
posted
Hi All,

I want to know the exact location of the procedures I include in the fex.

-INCLUDE untitled/app/name.fex

where can i find that particular name.fex

This message has been edited. Last edited by: Kerry,


In Focus since 2008
WebFOCUS 8.2.0.1
Windows 7 - IE,Chrome,Firefox
Excel, PDF, HTML, AHTML, XML
JavaScript, jQuery, D3.js, Highcharts
 
Posts: 79 | Location: New York | Registered: February 04, 2010Report This Post
Expert
posted Hide Post
MRE or Data Servers?

For Data Servers, the focexecs are in ibi/apps. The line looks like this:
-INCLUDE appdirname/fexname


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Virtuoso
posted Hide Post
Normally -INCLUDEd focexecs are stored in the same directories as the other focexecs associated with the application. They can also be stored in a common proc folder or anywhere else in the application path. Use the command APP SHOWPATH to see the complete list of folders in the application path.


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
Platinum Member
posted Hide Post
Hi,

On the server it searches the APP PATH for the fex that you are including.

You can do a '? PATH' command to see the list of paths that it is going to be searching in.

Best Regards,

Jimmy Pang


DEV: WF 7.6.10
TEST: WF 7.6.10
PROD: WF 7.6.10
MRE: WF 7.6.4
OS/Platform: Windows
Dev Studio: WF 7.7
Output: HTML, EXCEL, PDF, GRAPH, LOTUS, CSV
 
Posts: 117 | Location: Toronto, Ontario, Canada | Registered: February 29, 2008Report This Post
Gold member
posted Hide Post
quote:
Originally posted by GinnyJakes:
MRE or Data Servers?


MRE


In Focus since 2008
WebFOCUS 8.2.0.1
Windows 7 - IE,Chrome,Firefox
Excel, PDF, HTML, AHTML, XML
JavaScript, jQuery, D3.js, Highcharts
 
Posts: 79 | Location: New York | Registered: February 04, 2010Report This Post
Virtuoso
posted Hide Post
Then it's in basedir, wherever you or you system admin installed the basedir.
Usually it is in the webfocus76 install directory, but it can be replaced to some other location.
So in the case you mentioned it could be x:\ibi\webfocus76\basedir\untitled\app\name.fex


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Virtuoso
posted Hide Post
They ARE in basedir (wherever that may be) but they are not referenced as such when doing a -INCLUDE.

If you're in MRE and want to -INCLUDE code that is in the same domain, just use -INCLUDE fexname - it automatically looks for it in the current domain.

If you want to include code in a different domain use -INCLUDE domainid/app/fexname. Note that the domain id is the actual name of the folder for the domain, not just the displayed name. this is shown in DS 7.6.10 or in previous version you can right click on the domain and select "Properties".

If you're in MRE and want to include code that is in a server path, you need to use -MRNOEDIT -INCLUDE fexname - that forces the client to skip looking for the procedure within MRE and let the server resolve the location of the code.

Lastly, if you're outside of MRE and need to include code within MRE, you're in a tight spot. The only way to do this is to have a mapped application in your server path mapped to the MRE basedir directory (whether or the same server or a mapped drive.) Personally, I view this as a security risk and would not do this unles I had a separate WF configured for this specific purpose with very stringent security and a limited scope of capabilities. Then you can just -INCLUDE fexname


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Including Procedures

Copyright © 1996-2020 Information Builders