We are sending a single document in web API earlier in the response body like
body: todocument(cons!EXE_EXE1)
Output:
body:
37432 - EXEGenerated.csv (Document)
Now I want to send three documents in the same body. I tried as mentioned in the Appian documentation for
todocument( value, … ).
However, now the output is just document Id's instead of original documents.
Body:
[Document:37432]; [Document:27428]
Have any tried this?
Discussion posts and replies are publicly visible
Hi Srinath,
Can you post a screenshot of your current integration component configuration?
Hi Pedro,
Please find the screenshots below.
You're passing the documents as well, not just their identifiers. If you unselect the Auto-Format checkbox from when returning just document, you will see the same formatting.
I advise you to take into consideration some design implications of this approach since with you're losing the Content-Type HTTP Header with your last approach.
I guess along with the Content type, documents are also lost as the type is not retained as documents. When more than one documents are present in the body, the Auto-format option is also hidden.
Looks like a restriction from Appian to allow only one document as others have also reported the same in below thread.
https://community.appian.com/discussions/f/integrations/17977/need-to-get-multiple-document-through-an-web-api