HS

Hi,

is there a possibility to reuse written code, like determining underling models of a root model for example, by include this code via function call or other techniques, but not by the copy and paste one ;-) .

Can me help someone how to reuse written code in different reports or macros.

Thanks

 

Hannes

by Vinay Agarkhed
Posted on Tue, 05/29/2012 - 11:35

Hi Hannes,

It is very much possible.

Write the commonly usable code in a file and save it as a javascript ( .js) file type on your disk, import this file in Common files directory of ARIS Editor module.

Then goto the properties window of the intended ARIS script click on Imported files buttion and select your .js file.

So, all the methods written in common .js file will be automaticaly available for your ARIS script.

 

Thanks,

Vinay

0
by Dominik Jenzer
Posted on Fri, 06/01/2012 - 08:35

Hi,

wow, works fine! Thanks for the hint.

And by the way, I found a lot of useful code in the commonUtils.js

Everyone should have a look on it!

Regards,

Dominik

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