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 / Attachment Control Wit...
Power Apps
Answered

Attachment Control With SendEmailV2

(0) ShareShare
ReportReport
Posted on by 3

I'm trying to send emails with attachments from Power Apps using the attachment control. However, I'm getting the following error message:

"Missing column. Your formula is missing a column 'Attachments.ContentBytes' with a type of 'Blob'."

I've already tried the RenameColumns and addcolumns methods, but it hasn't resolved the issue.

Does anyone have any suggestions on how to fix this?

===================//===========================

    Office365Outlook.SendEmailV2(
        "email@example.com";// Endereço de email do destinatário
        varAssunto;// Assunto do email
        varConteudo;// Conteúdo do email
           
        {  
            From: User().Email;
            Importance: "normal";
            Attachments:RenameColumns(ATTATCH.Attachments;"Value";"ContentBytes")
        }
    );;

 

==============================//===========================

Feijas_0-1719495115054.png
Feijas_1-1719495142808.png

"Missing column. Your formula is missing a column 'Attachments.ContentBytes' with a type of 'Blob'."



Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,079 Most Valuable Professional on at

    Hi @Feijas ,

    You do not need quotes “” around RenameColumns() target fields anymore.

     

    Please click Accept as solution 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 Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Feijas Profile Picture
    3 on at

    Thank You!!

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard