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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Upload Files to differ...
Power Apps
Unanswered

Upload Files to different Folders

(0) ShareShare
ReportReport
Posted on by 13

Hey, I am new to PowerApps and I currently try to upload Items from a collection to different folders depending on their attributes.

The idea is simple: You navigate to your preferred folder (the folder structure is cloned from sharepoint) and take a picture. The picture, the path you took and some other stuff is saved in a collection. When satisfied you can click "upload" and all records in the collection will get upload to their respective folder.

 

I implemented the navigation method but now im stuck. I tried to do it with flow, which neither throws an error nor does it work.
image.png

 

 

This is my code in powerApps.

 

 

ForAll(
 colFotos; 
 RespectiveFolderUpload.Run(
 DisplayName; 
 ProjectFolders.Selected.Name; 
 LevelFolders.Selected.Name; 
 RoomDropdownSelect.Selected.Name; 
 {
 Name: DisplayName;
 Autor: User().FullName; 
 Datum: Now(); 
 Standort: Location.name; 
 Bild: Value
 }
 )
)

 

 

 

Does anyone have an idea how to do this?

Thanks in advance!

 

Categories:
I have the same question (0)
  • Verified answer
    EddieE Profile Picture
    4,641 Moderator on at

    @dq 

    Your File Content needs to be a record, like this

    {
     file: 
     {
     contentBytes: _uploads.Value,
     name: _uploads.Name
     }
    }

    you could try this

    {
     file:
     {
     Name: DisplayName;
     Autor: User().FullName; 
     Datum: Now(); 
     Standort: Location.name; 
     Bild: Value
     }
    }

    I've only ever parsed Name and Value inside my record so not sure if the other fields are causing your error?

     

    Check this video by Chino Does Stuff which is pretty good for what you are trying to achieve

    https://www.youtube.com/watch?v=yC0W5am6M3Q&t=1182s

     

     

     

  • dq Profile Picture
    13 on at

    THANK YOU!!! 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard