Skip to main content
November 17, 2023
Question

Issue with File Naming in Web API Document Upload

  • November 17, 2023
  • 7 replies
  • 0 views

Hello,

We've successfully implemented the web API document upload template in Appian, fetching documents and metadata from an external system. However, we've encountered an issue where the file name is consistently labeled as "Untitled Document" in the process. Any assistance in resolving this matter would be greatly appreciated.

Thanks

7 replies

stefanhelzle0001
November 17, 2023

docs.appian.com/.../Integration_Object.html

I assume that the API somehow provides name and extension of the file. You can easily rename the document in the process.

sriramk5349
November 17, 2023

Hi [mention:c5eac5bedaa14470a1910bebec53c8fe:e9ed411860ed4f2ba0265705b8793d05] ,

When external system is calling our API, Add a header with name as "Appian-Document-Name" and value as the "filename.extension". 

Then the document will be saved in Appian with filename.extension else it will give untitled document

November 17, 2023

I have included the header, but the issue persists with no change.

sriramk5349
November 17, 2023

Hi [mention:c5eac5bedaa14470a1910bebec53c8fe:e9ed411860ed4f2ba0265705b8793d05] ,

Try this way