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"
Fig. 1
fileDirectory references a variable
"dir"
Fig. 2
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
Fig. 3
Run-time values for variables
"outFileName" and
"dir"
Fig. 4
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".
This page (revision-2) was last changed on
13-Aug-08 18:48 PM, -0700
by NitinNahata.
This page was created on
13-Aug-08 18:07 PM, -0700 by NitinNahata.
More info...
| Version |
Date |
Author |
Size |
Changes ... |
|
2
|
13-Aug-08 18:48 PM, -0700
|
NitinNahata |
1347 |
to previous
|
|
1
|
13-Aug-08 18:07 PM, -0700
|
NitinNahata |
1269 |
to last
|