It is possible to set the connection parameters for a Connector using the following script:
myConnector.setParam ( "filePath", "examples/scripting/sample.csv" );This is typically something we do in the Prolog, but it can be very useful while the AssemblyLine is running as well, provided that you stop and reinitialize the Connector.
myConnector.terminate(); myConnector.setParam ( "filePath", "examples/scripting/sample.csv" ); myConnector.initialize(null);
Parent topic: Control points for scripting