I need to organize my list items into a folder structure (folder and sub folder). For that when an item is created in List A, I need to create an list item in List B inside a particular folder structure. (As far as I know, we can create a file inside a folder structure, but not a list item)
Is there a way to create a list item inside a folder using Microsoft Flow?
Is ther a way to create folders in a sharepoint list using Flow?
Solved! Go to Solution.
Hi Thananji,
Creating a folder structure in list and placing an item inside a folder in list using Microsoft flow are not supported. You could submit your ideas at Flow Ideas Forum so it might be taken consideration as a future release:
https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas
Best regards,
Mabel Mao
Hi,
Yes you can create file inside a folder structure but not just folders. You probably could create a dummy file always and use SharePoint Delete File flow to remove the dummy file.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogThank you for your response abm. I can use your solution for document libraries. but not for list.
My questions are for LIST (NOT DOCUMENT LIBRARY).
1. Can I create a folder structure in LIST using Microsoft Flow?
2. Can I place an item inside a folder in LIST using Microsoft flow?
thanks,
thananji
Hi,
The two questions are more related to SharePoint itself and nothing to do with Flow. I don't think you can create folders in a list. I have created a SharePoint list. Pressed the new button and cannot see the Folder option. Yes I can see this in a document library. If I am mistaken please let me know.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogWe can enable Folder in the list by setting New folder enable.
List settings -> advaced setting -> Make new folder available -> yes
thanks.
Hi,
Good knowledge 🙂 Yes I did tried this now and can't create folders in list. You probably looking a Custom API to host in Flow to acheive this.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogHi Thananji,
Creating a folder structure in list and placing an item inside a folder in list using Microsoft flow are not supported. You could submit your ideas at Flow Ideas Forum so it might be taken consideration as a future release:
https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas
Best regards,
Mabel Mao
Thank you so much for your reply MabelMao, I have created it as new idea.
Hi! I just created an Azure Function to do it. You can use a swagger definition in your Microsoft Flow to call it. Read this blog post for more information.
You can use the REST API to create a item in a folder
More information at https://docs.microsoft.com/de-de/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-re...
In Flow use the "Send an HTTP Request to SharePoint" action
User | Count |
---|---|
23 | |
15 | |
14 | |
10 | |
9 |
User | Count |
---|---|
45 | |
29 | |
25 | |
24 | |
22 |