I have a WEB API that upload a document (txt, pdf or excel file) to a folder of Appian, it works well but it doesnt save the name of the file uploaded, it appears like "Untitled document from Web Api".
You can specify document name as one of the HTTP header - "Appian-Document-Name". If this is not specified The name will be defaulted to Untitled document from web API. Also you do not need to explicitly cast it to toInteger() while displaying the name.
I know, i was only testing with differents ways to call it. The problem writing the header is that always appian saves the file with the same name and i need that this was dinamic. Is there any way?
Discussion posts and replies are publicly visible
© 2020 Appian. All rights reserved.