Profile picture for user sebjonas

Hi,

I'm about to read an XML file from a ARIS script to synchronize our object inventory. We're using scriptrunner to launch the script from external program and suppose to use a silent way to load the XML file and create ARIS objects. There for dialogs are not relevant. 

The only API method I've seen is Context.getFile and it expects the file to be located in predefined areas in ARIS, such as common files and scripts. This is not what we want since the file is located on a file share. If it's possible to import that file first from script commands, that might even work.

Thanks!

by Brooke Baker
Posted on Tue, 05/28/2013 - 04:38

What about using BufferedReader? eg

new java.io.BufferedReader(new java.io.FileReader(file));

0
by Jonas Ekstrom Author
Posted on Fri, 05/31/2013 - 08:36

Works fine :) reading from server side location.

0

Featured achievement

Question Solver
Share your expertise and have your answer accepted as best reply.
Recent Unlocks
  • CR
  • BH
  • Profile picture for user Ivan.Ivanov.softwareag.com
  • Profile picture for user mscheid
  • MS
  • PacMan

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