AG

Hi,

I need to print content from document that is saved in ARIS Document Storage to ARIS report.

I know how to do that from document that I have in the same folder where is the report script, but I have document in ADS that is linked to model attribute (Document Link 1). 

Here is example of code that print content of document that is in the same folder as report script. 

    var fileDocument = Context.getFile("document.docx", Constants.LOCATION_SCRIPT)

    var objectInsert = Context.getOutputObject("temp.doc", fileDocument)

    oOutput.InsertDocument(objectInsert, false, false)



Can I adapt this code to print document from ADS or there is another way to do that?



Best regards,

by Michael Idengren
Posted on Tue, 09/13/2016 - 23:01

I also have this question, need API access to add/remove documents to ADS

0
by FLAVIO DE FARIA
Posted on Fri, 02/02/2018 - 13:19

Hi Michael,

Did you find the solution?

If yes, kindly share with us. 

Thanks!

 

0
by Runé Becker
Badge for 'Mastermind' achievement
Posted on Fri, 02/02/2018 - 13:46

In reply to by flavio.faria

At the moment ARIS Document Storage API 10.0 SR3 offers only the creation and retrieval of documents:

http://localhost/apidocs/swagger-ui/index.html?url=/documents/apidocs/swagger.json#/documents



But feel free to open a feature request on Brainstorm via Empower:

https://empower.softwareag.com/Products/FeatureRequestsInBrainstorm/default.asp

You are already 2 users asking for that improvement. Maybe there are more users who would vote for your feature request.

Cheers

Rune

0
by FLAVIO DE FARIA
Posted on Fri, 02/02/2018 - 13:53

Hi Rune,

Thanks for quickly reply!

 Do you have any workaround to invoke ADS API from Aris sript?

Best

Flavio

 

 

0
by Paride Zizzari
Posted on Tue, 06/05/2018 - 16:33

In reply to by rbe

Hello,

I have the same request and cannot find the Script help associated to ARIS Document Storage. Do I need to install anything else on the server (9.8 SP7) ? Would be great if someone could post an example.

Best regards.

Paride

0
by Runé Becker
Badge for 'Mastermind' achievement
Posted on Tue, 06/05/2018 - 20:44

In reply to by zizzap

Dear Paride,

Please have a look at your ARIS DVD 9.8 SR7 in document Report Script Changes.pdf. There you will find on page 8 a new section for ARIS Document Storage introduced with 9.8 SR6.

From the central ARIS online help page Working with ARIS http://localhost/abs/help/en/start/ba_help.htm you should be able to access the onlien help for ARIS Script as well as ARIS (RESTful) API.

Cheers

Rune

 

0
by tuti all
Posted on Thu, 11/28/2019 - 02:53

In reply to by rbe

Hallo Rune Becker,

I want to get document storage link in report. And my aris version is 9.8 .. I have a problem with script code.

and I have not Report Script Changes.pdf. 

Would you like to share document with me?

thank you for your attention.

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