Forum Discussion
Dynamically Populate SPO List With Files From Specific Folder?
Hello cgtrman,
Maybe not natively in SPO, but you could possibly create a dropdown menu on your form with a list of filenames, then use Flow to attach a file based on the selection from a document library.
- NeverHereFeb 04, 2019Brass Contributor
cgtrman,
The only thing I can think of would be to create different content types for each file, then set the list up to manage content types. The user would then have a list of only templated entries if you will. You can do the same in a document library and it looks something like this. Unless I am misunderstanding your request, and if so I apologize.
- DeletedFeb 05, 2019
I created a screenshot to clarify what I'm trying to accomplish. While viewing a SPO list, a user clicks "Add new item" and sees this form. For the File field, it is not a free-form text field but rather is a drop-down menu populated with files from a doc library. After a user selects one file from the drop-down menu, the file name would be added to the form. Is this possible in SPO?
- NeverHereFeb 05, 2019Brass Contributor
ctgrman,
I finally understand, thank you for clarifying. You could use a calculated column for this but based on the screenshot you sent me it looks like you want to populate the item Title column. This means you probably need a workflow that would populate the title field when an item is submitted. You would also need to make title not required for this to work. You could use SharePoint workflow for this but MS flow might be a better longer term solution. I hope this helps!