Wed, 2023-09-27 16:00
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,
I also have this question, need API access to add/remove documents to ADS
Hi Michael,
Did you find the solution?
If yes, kindly share with us.
Thanks!
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
Hi Rune,
Thanks for quickly reply!
Do you have any workaround to invoke ADS API from Aris sript?
Best
Flavio
Did you already checked the ARIS Script help for accessing ARIS Document Storage?
http://localhost/abs/help/en/script/ba/index.htm#report_OBJECTS_ADSRepository.htm
Cheers
Rune
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
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
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.