Skip to main content
October 10, 2023
Question

WebAPI Download Document

  • October 10, 2023
  • 2 replies
  • 0 views

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
October 10, 2023

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

abhayd3663
October 10, 2023

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

E.g.

body: todocument(cons!DOC_TO_BE_DOWNLOADED)