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 / Using first function f...
Power Apps
Unanswered

Using first function for attachment

(0) ShareShare
ReportReport
Posted on by 16

When using the first function when attachments are being used, I am getting errors but not sure why and it's becoming very frustrating, any help would be appreciated.

 

</div>" ,true,First({filenames: DataCardValue33.Attachments.Value, files: DataCardValue33.Attachments.Value}
);
ResetForm(Form3);

Categories:
I have the same question (0)
  • KevDaRed Profile Picture
    16 on at

    So i've been told the below, but still don't understand, feeling pretty useless 

     

    The attachments should have more than one attribute, you use one for the file content and the other for the file name. You also want to have the attribute outside the first brackets so that this way it is identifying a ingle value rather than the whole column

     

    </div>" ,true,({filenames:First(DataCardValue33.Attachments.Value), files:First(DataCardValue33.Attachments.Value)}
    );
    ResetForm(Form3);


  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @KevDaRed ,

    What exactly are you trying to do here?

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

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard