Problem:
Data Express pre/post scripts are available for execution on a data source name level. When exporting multiple methods, scripts can be associated to each one of them, however, placing them in each method’s folder could be a lot of additional effort.
Resolution:
A custom shared folder can be created that can hold scripts for all methods (executions). This folder must be described in a system variable, called “ADD_TO_METHODS” and can be placed in any location and have any name. When the Engine starts, it will first check if this variable exists. If it does, the Engine will check if there are suitable pre/post scripts for execution in the folder pointed by this system variable. If there are, the engine will execute the scripts. If there are not, the Engine will check for scripts in the installation “config” folder and execute them from there.
If the “ADD_TO_METHODS” variable does not exist, the Engine will perform its usual execution.
NOTES:
- This feature works only under Windows!
2. Windows must be restarted after system variable’s creation or modification!
#MFDS
#EnterpriseDeveloper
