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 as PDF with an...
Power Apps
Answered

Sending as PDF with an additional attachment

(0) ShareShare
ReportReport
Posted on by 4
Hi. So I can create a form that gets converted to PDF and sent via email. And a form that will send attachments via email. But I can't combine the 2 together. I'm just not sure of the syntax. Can anyone help?
 
Form 1:
 
Office365Outlook.SendEmailV2(
   "email@address.com",
    "Subject" ,
    "Message.",
    {
        Attachments: Table(
             {
                 Name: "filename.pdf",
                 ContentBytes: PDF(Screen1)
             }
         )
    }
 );
 
Form 2:
 
{
        Attachments: ForAll(
            att_Attachments.Attachments,
            {
                ContentBytes: Value,
                Name: Name
            }
        )
    }
);
 
Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,781 Most Valuable Professional on at
    You should be able to combine them like this
    Office365Outlook.SendEmailV2(
       email@address.com,
       "Subject",
       "Message.",
       {
          Attachments: 
          Table(
             {
                Name: "filename.pdf",
                ContentBytes: PDF(Screen1)
             },
             ForAll(
                att_Attachments.Attachments,
                {
                   ContentBytes: Value,
                   Name: Name
                }
             )
          )
       }
    )
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

     
  • PM-14111400-0 Profile Picture
    4 on at
    Thanks Warren. That worked perfectly.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 93 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
Valantis Profile Picture

Valantis 49

Last 30 days Overall leaderboard