JR

When creating a new script or looking in the properties of an existing script (ARIS 9.7) I see that the old and the new Word formats are supported (doc and docx) but that for Excel only the xls format is supported.

Is there a possibility to create a report in xlsx format from a script?

In the ARIS script help I see that there is a constants.arisoutputformattype which has an outputformat OutputXLSX but even when creating a new script in ARIS 9.7 I can only specify xls as output format via the properties dialog.

How can I let my script give the user the option of selecting xlsx output?

by Francois Suter
Posted on Wed, 03/04/2015 - 18:16

I'm using ARIS 7.2.4 and I also wanted to be able to generate XLSX files.

The only way I found to do it is to

- create the XLS output file (but name it with ".xlsx" format) using createOutputObject()

- use the writeReport() function to close it

- prepare all your content using the Apache POI Workbook API (normally already installed on your ARIS).

- then re-open the same file to write inside (get the file with getCurrentPath and open it with java.io)

I clearly don't know where and when does the transformation occurred, but it works perfectly fine and that's what matter.

I prefer using Apache POI API because I had problem with setCellFormula method

0
by Sebastien Roustit
Posted on Fri, 09/16/2016 - 16:10

For information, .xlsx files generation will be integrated in the ARIS 9.8 SR6 release.

Release available in October 2016.

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