We are trying to integrate appian with an internal Java application . The design is going on . The Java application is responsible for connecting to s3 and providing us the document using a webservice call . We will call the API provided by Java application with a document ID . we will get the document as result of this call . we should be able to download the document to our desktop
Please let me know if anyone worked on this type of requirements . I would like to know whether this is even possible with Appian
Is there a reason why you can't simply construct or fetch a link to the document in S3 and display the link to the user so that they can download the document?
@bene, it may be possible, but there are many challenges with using Web API for this requirement.
There is a Shared Component "Amazon S3 Utilities" available as Smart Service plug-in. With that, you can download a file from Amazon S3 into Appian document.Challenge #1 - You have to call the Smart Service by starting a new process, but you won't know when the the file is ready, and you can't wait either.
If you got through that hurdle, you can try to extract Appian document download URL from a deprecated function linktodocument(), then redirect the browser to download the document. But yes, it's deprecated, so this solution will only be temporary.
There is also a concern about cleaning up, after the file is downloaded.
I can imagine a quick and dirty proof-of-concept can be implemented using Web API, but not as a production ready solution.
Discussion posts and replies are publicly visible
© 2019 Appian. All rights reserved.