How to use Application Variables in File BC
Application Variables can be used to provide run-time values for properties defined in the WSDL.
To Use Application Variables
- Use variable references in WSDL
- Define variable values in BC run-time properties
- Deploy application Service Assembly
Use variable references in WSDL
fileName references variable "outFileName"
references a variable "dir"
Note that this feature does not apply to boolean type properties such as fileNameIsPattern, multipleRecordsPerFile, archive, etc.
Define Application Variable values in BC run-time properties
Run-time values for variables "outFileName"
Deploy application Service Assembly
Now when the application is deployed, input file should be picked from the "c:\Temp\myDir" and the output file generated should be named "myOut.xml".