Profile picture for user rupikshma

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

by Allen V.
Posted on Mon, 02/13/2012 - 15:55

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!

0
by Jonas Ekstrom
Posted on Mon, 05/27/2013 - 16:28

In reply to by Eduardo.Valenzuela

Hopefully someone still reads this thread:

Can anyone confirm that there is no solution to load a file located on the network share from ARIS script?

Thanks.

0
by Rex Mao
Posted on Fri, 11/29/2013 - 05:54

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.

 

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock