Hello,
Does any one know Jscript method to read the file from a network location in ARIS 7.1.
I am trying to read file stored i a network location so that I can set that script in ARIS scheduler to schedule the script.
Regards,
Rupesh
Hello,
I am trying to do the same thing. Read a file on a network share so that I can process the file in ARIS jscript. So far I have not been able to read a file located on the network. Script works if I store the file in script location using:
var xlsFileData = Context.getFile(xlsFile, Constants.LOCATION_SCRIPT);
The requirement is to be able to read from a specified network share so I need to know if this is possible.
Thanks!
Hi friends,
Here is a method in Context object,
var myOutput = Context.getOutputObject(filename, data)
The type of the 2nd parameter is byte array.
So, you can write a JAVA class to load your remote file to byte[] data stream, then create you aris output Object.