Skip to main content
banshp0001
May 24, 2021
Question

How can we get original file name of an uploaded file?

  • May 24, 2021
  • 3 replies
  • 0 views

I need to store original file name into database of the uploaded excel sheet. Please suggest if we have any smart service or plugin for the same.

3 replies

May 24, 2021

We can make use of the document() function to get the uploaded filename.

document(ri!docmentId,"name")

mikes0011
Brainy
May 24, 2021

The original file name is inherently kept unless you override it, either at upload time or perhaps via renaming afterwards (in both cases, the original filename would no longer be stored anywhere within Appian as far as I know).  Otherwise, ashok's answer above is correct.  Do you mind sharing what you've tried and what seems to not be working correctly?

The Expression Guru
banshp0001
May 24, 2021

Thanks Mike, will share the result.