Script Source Overview
Previous Topic  Next Topic 


Script Source Overview


Script Source can be to used to get data from a file, a database, or some other ‘non standard’ format.  The script source will be treated like any other polling source, DataXchange will run the script on the polling interval set. The script will do whatever it is scripted to do to retrieve and parse data and populate variables that can then be used in DataXchange expressions.  


To take advantage of of Custom Script, the machine will need to be licensed at the Gold level.


The configuration will consist of selecting a file containing the code for the desired operations.


Things to note when using Script Source:


DataXchange Source Variables - The Script will only have Source variables  


DataXchange Target Variables - The script will not act as a target, therefore DataXchange will not have any target variables at this time. 

    

DataXchange Constants - There will not be any script constants used in DataXchange at this time.


When a script is shared with multiple machines and is altered and uploaded again for any machine, the changes will be inherited by all of the machines using the shared script.  The commands for all machines using the script must be restarted for the new script to become active.


See how to add a custom script here