Focal Point
[SOLVED] Create system variable with path to fex being run

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9217076396

June 17, 2020, 01:48 PM
Troy_proffitt
[SOLVED] Create system variable with path to fex being run
I was wondering what is needed to create a global variable I can access at runtime to tell me the path (domain / folder / filename) of the fex being run? I did a -? & and none of the variables listed include the path.
I have tried IBIMR_fullpath, folder..etc, but they are not recognized variables.

Thanks for your help.

This message has been edited. Last edited by: FP Mod Chuck,


WF version 8105
all output
June 17, 2020, 06:19 PM
FP Mod Chuck
Troy

Add these lines using the Client Administration Console under Application Settings / Custom Settings.

<set> IBIMR_fullpath(pass)
<set> MR_FULL_FEXNAME(pass)

Then you will be able to reference them in a fex with &IBIMR_fullpath &MR_FULL_FEXNAME


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
June 18, 2020, 09:35 AM
Troy_proffitt
Our Admin says that they cannot find that option in the application settings. We are on 81M


WF version 8105
all output
June 18, 2020, 09:57 AM
FP Mod Chuck
Troy

In 8.1.05 it is under Configuration / Custom Settings (3rd one from the bottom)


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
June 18, 2020, 11:04 AM
Troy_proffitt
We got this to work. Thanks for your help!


WF version 8105
all output