0

Using SharePoint Online, how can I populate a column with the name of a file that has been uploaded?

Seems all the related Q&A I am finding have more complex twists, this I hope is straight forward.

  1. File gets uploaded
  2. File name is extracted and added to another column
2

You cannot use file name in a calculated column formula. You can create a SharePoint designer workflow that runs on item creation and update the columns with data extracted from file name.

As you are using SharePoint online, I will recommend you to use Microsoft flow to do the same. You can use below action in sequence:

  1. When a file is created - This will be your trigger after uploading a file.
  2. Update file properties - In this action you can set your fields using filename you get from first action.

enter image description here

If you want a file name with extension then you can use File name with extension in Title property in Update file properties action.

1
  • @Dan Have you tried this? Is it working for you? – Ganesh Sanap Sep 11 '19 at 4:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.