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 / Power Apps Sharepoint ...
Power Apps
Unanswered

Power Apps Sharepoint Attachments, reference Names

(0) ShareShare
ReportReport
Posted on by 65

Hey guys, this should be such a simple solution but I just don't know how to get to it.

So i have a Sharepoint List with Power App Form attached to it.

I have a field for the Attachments with the maximum of 10 allowed attachments.

I have 10 seperate Textfields where i Want to populate the name of the attachment.

I know how to get Name of the latest Attachment in my Array:

 

Last(Project_Files.Attachments).Name

 

 How do i get the specific names for each attachment? In any other language i know I can access the array with []. 

 

Thanks!

Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Lephas 

    Yes, since PowerApps is not a development platform, things work differently than arrays in a dev language.

    There are no such things as arrays in PowerApps...they are all tables.

     

    Please consider changing your Formula to the following:

    Last(Project_Files.Attachments).DisplayName

     

    I hope this is helpful for you.

     

  • Lephas Profile Picture
    65 on at

    If i use this code all my 10 Textfields (its a Field within the form) have the same Name of the last uploaded document.

    My goal is that each textfield will have the same name like the ID of the uploaded attachment in my form. Is there a way how to do this?

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 352 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 323

#3
Mohsin Ali Profile Picture

Mohsin Ali 226

Last 30 days Overall leaderboard