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,
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
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
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