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 / Sending more than one ...
Power Apps
Unanswered

Sending more than one attachment to powerapps triggered flow

(0) ShareShare
ReportReport
Posted on by 10
Hi Community,
 
I am trying to build an app where I am sending the information to a sharepoint list using a flow. There a several fields using texts, values and also attachments.
 
Below the code I am using at the moment, but unfortunatley I am only able to attach one file, but I would like to attach several instead.
 
I tried quiet some time using the ForAll(DataCardValue150.Attachments), but I couldn´t get it working properly.
 
Can someone help me, please?
 
Sebastian
______________________________________
 
Safety.Run(
    Text(
        If(IsBlank(DataCardValue56.SelectedDate); Today(); DataCardValue56.SelectedDate);
        "yyyy-mm-dd"
    );
    If(IsBlank(DataCardValue141.Text); ""; DataCardValue141.Text);
    If(IsBlank(DataCardValue95.Text); ""; DataCardValue95.Text);
    If(IsBlank(DataCardValue118.Text); ""; DataCardValue118.Text);
    If(IsBlank(DataCardValue142.Selected.Value); ""; DataCardValue142.Selected.Value);
    If(IsBlank(DataCardValue143.Selected.Value); ""; DataCardValue143.Selected.Value);
    If(IsBlank(DataCardValue59.Selected.Value); ""; DataCardValue59.Selected.Value);
 
    If(
        CountRows(DataCardValue150.Attachments) > 0;
       
        {
            file: {
                name: First(DataCardValue150.Attachments).Name;
                contentBytes: First(DataCardValue150.Attachments).Value
            }
        };
        {}
    )
);;
Navigate(SafetyScreen);;
ResetForm(Form7)
 
 
Categories:
I have the same question (0)

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard