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 / Create a folder in sha...
Power Apps
Unanswered

Create a folder in sharepoint and attach files

(0) ShareShare
ReportReport
Posted on by 47

Good Afternoon,

 

I want to create a folder and put files in that folder through my app.

I'm struggling to get my flow and my code going.

 

This is my flow:

MJS1987_0-1713270540081.pngMJS1987_1-1713270664170.png

 

And for the 'OnSelect' of my button I have

CreateFolder.Run(TextInput1.Text, {file: {name: First(attach.Attachments).Name, contentBytes: First(attach.Attachments).Value}})
 
When I click the button I get an error 'server did not receive response from upstream server'.
 
I also have another textbox (TextInput2) that I would like to put the url of that new folder into. Is this possible?
 
Any help with this would be greatly appreciated.
Categories:
I have the same question (0)
  • nickellis74 Profile Picture
    432 Moderator on at

    I may be missing something, but it looks to me like you are using a property called 'filename' in the Create File step that does not get created in the trigger.

  • MJS1987 Profile Picture
    47 on at

    This is what I have in there. 

    triggerBody()?['file']?['name']

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard