web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Attachments from a lis...
Power Apps
Unanswered

Attachments from a list move to a subfolder of a folder that is automatically created when the list item is created.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have created a list with several columns of data, (2 of which is ID and Project Name). Using a flow, when a new item is added to the list a folder is created in a document library with subfolders. The folder is automatically named "ID_Project Name". The subfolders are labeled as such "1 - Bid Docs", "2 - Templates & Tools", and "3 - Final".

 

Is there a way to get the attachments from the list into the "1 - Bid Docs" folder, of the correct folder in the library? I am thinking that it should be able to match the "ID" from the list and the "ID" from the name of the folder and then populate the attachments into the correct subfolder from there. Any help is greatly appreciated. 

 

 Not sure what I can post to assist in this flow

 

 

 

Categories:
  • v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Do you want to create a folder with a name format of "ID_Project Name" when a new project is added to the list, then create three folders in this folder, and finally store the attachment in a folder named "1 - Bid Docs" subfolder?
    I have a test for your reference.

    vdezhilimsft_0-1672380585026.png

    vdezhilimsft_1-1672380617949.png

    vdezhilimsft_2-1672380654372.png

    vdezhilimsft_3-1672380750719.png

    vdezhilimsft_4-1672380903327.png

     

     

    Best Regards,

    Dezhi

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I believe this is going in the correct direction, the only thing I would say is my "ID" column in my list is not the standard "ID" column that is provided. My ID column is a field the person entering the list item needs to fill out.

     

    Example: AAJA-10TG67, would be an ID for a line item in my list. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you for helping, below is the current script I have for creating the bid folder, I just don't know how to get the attachments into the "1-Bid Docs" folder. 

     

    The below flow works. 

    JustinEkster_0-1672450004512.png

    JustinEkster_2-1672450074798.pngJustinEkster_3-1672450092302.png

    JustinEkster_4-1672450124771.pngJustinEkster_5-1672450143312.png

    JustinEkster_6-1672450175562.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 396 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 323

#3
WarrenBelz Profile Picture

WarrenBelz 193 Most Valuable Professional

Last 30 days Overall leaderboard