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 / Upload and add attachm...
Power Apps
Answered

Upload and add attachment to SharePoint list item

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,
I have a flow where users can set some start parameters and also add a file to the flow (manually started on a SharePoint list item). This flow will update the list item (no problem there) and attach the file to the object (also works). But how do I get the name and file-extension of the supplied file? At the moment I use a static file name but that won't work since users will uses different kind of file formats. I feel as if I'm missing something obvious here.
//Mattias

Categories:
I have the same question (0)
  • LRVinNC Profile Picture
    2,297 on at

    FYI - I recommend posting Flow questions to the Flow Community (https://powerusers.microsoft.com/t5/Microsoft-Flow-Community/ct-p/FlowCommunity

     

    As to your question, you didn't specify exactly how they are submitting the file, but if they are simply uploading it a sharepoint folder, you can pick up the file name in the Dynamic content created from the "When a file is created in a folder" under Filename.  (Other triggers related to getting a file should similarly provide the name of the file).

    FileName.jpg

     

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hmm, I guess that the purple header color should have caught my attention 🙂

     

    Thank you for answering but unfortunately it's not that simple. I reposted my question with some screen shots, https://powerusers.microsoft.com/t5/Building-Flows/Addding-image-from-Sharepoint-attachments/m-p/272145.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard