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 / 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
    155,779 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 494

#2
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#3
11manish Profile Picture

11manish 323

Last 30 days Overall leaderboard