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 / 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

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