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 / 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:
I have the same question (0)
  • RandyHayes Profile Picture
    76,297 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

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard