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
February 05, 2010, 03:26 PM
fatboyjim
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.
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
February 08, 2010, 03:57 AM
GamP
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
February 10, 2010, 11:26 AM
Darin Lee
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