Skip to main content
July 20, 2023
Question

Amazon bucket S3

  • July 20, 2023
  • 5 replies
  • 0 views

Hi, for the process we are automating, we need to display a document saved in the S3 bucket.

To do this we used:

1) an integration for downloading from the bucket to an Appian folder

2) a safelink with web API/ a documentDownloadLink to download/view it from the user.

Our requirement in terms of user experience would be to use a single click for both activities.

How can we handle our problem?  Thank you for suggestions, Eleonora

5 replies

stefanhelzle0001
July 20, 2023

You could try to create a web API in Appian which calls the S3 integration to download the file and then returns that file as the body. You might have to adjust some headers to tell the browser to download the file instead of trying to display it.

July 20, 2023

Thanks for your answer Stefan, it is the solution we are trying but we are having some problem with the configuration of the webAPI. These is what we have done till now: we actually need to execute the integration before, than the request of the webAPI open the last downloaded document (screenshot attached). Do you have suggestions to make the webAPI works properly to download and open the file simultaneously? Thank you, Eleonora 

stefanhelzle0001
July 20, 2023

I do not understand what you do in the first 4 lines. That does not feel good.

But in general, this is what I would expect to do myself. What is the issue?