Skip to main content
Inspiring
Oct 10, 2023 2:55 PM UTC
Question

WebAPI Download Document

Hi 

What path should I use for web api document download?
image is uploaded to appian's image folder and
How should I specify that image folder?


 

2 replies

stefanhelzle0001
Brainy
Oct 10, 2023 2:59 PM UTC

I am not sure what exactly you are asking for. The folder to where Appian stores the file cannot be made dynamic.

abhayd3663
Brainy
Oct 10, 2023 6:22 PM UTC

Put a document into a constant and use that constant in the HttpRsponse.

E.g.

body: todocument(cons!DOC_TO_BE_DOWNLOADED)