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 / Missing column content...
Power Apps
Unanswered

Missing column contentBytes type blob (even though it's clearly provided)

(0) ShareShare
ReportReport
Posted on by 14

robbieluie_1-1716734889120.png

 

I have tried multiple way to get rid of this error for attachment control even when there is a clear column dedicated for 'ContentBytes'. Anyone has any workaround for this?

Categories:
  • robbieluie Profile Picture
    14 on at

    Hi @WarrenBelz, do you have any idea why I still get an idea?

  • robbieluie Profile Picture
    14 on at

    i have used this link formula https://www.practicalpowerapps.com/functionality/selectemailattachments/ but it still shows errors 

  • robbieluie Profile Picture
    14 on at

    robbieluie_0-1716739085525.png

    I feel like powerapps software has changed some parameters of the Attachment control table but did not notify us @WarrenBelz  @Amik  @iAm_ManCat 

  • timl Profile Picture
    37,420 Super User 2026 Season 2 on at

    Hi @robbieluie 

    The AddColumns/RenameColumns section of your formula should look like below.

    Note the absence of the double quotes around Value/ContentBytes, and the single quotes around '@odata.type'.

    Hopefully, the Intellisense in the designer should suggest the correct syntax for you. 

     

    AddColumns(
     RenameColumns(
     DataCardValue67.Attachments,Value, ContentBytes),
     '@odata.type', 
     ""
    )

     

     

  • robbieluie Profile Picture
    14 on at

    Thank you so much, this works. Interesting that he used double quotes in the video which didnt work for me. However, my attachments are not shown in the email I am receiving, only the Subject and Body texts. Any idea why this is? 

  • timl Profile Picture
    37,420 Super User 2026 Season 2 on at

    Hi @robbieluie 

    There shouldn't be any need to add an @odata.type column, so that might be the cause of the issue.

    I've just tested this (without the collection) and the email attachment sends ok for me.

    Office365Outlook.SendEmailV2(
     "tim@email.com",
     "Email Subject",
     "Email Body",
     {
     Attachments: RenameColumns(
     DataCardValue67.Attachments,
     Value,
     ContentBytes
     )
     }
    )
  • robbieluie Profile Picture
    14 on at

    thanks so much Tim!! It finally works, may I know how you knew how to do this or refer to as I could not find any sources online on my own to fix this?

  • robbieluie Profile Picture
    14 on at

    and is there a way to add multiple email recipients

  • timl Profile Picture
    37,420 Super User 2026 Season 2 on at

    Hi @robbieluie 

    You can add multiple 'to' email addresses by separating them with the ; symbol, like so:

    Office365Outlook.SendEmailV2(
     "tim@email.com;tim2@email.com;tim3@email.com",
     "Email Subject",
     "Email Body",
     {
     Attachments: RenameColumns(
     DataCardValue67.Attachments,
     Value,
     ContentBytes
     )
     }
    )

    Much of what I know is through experience, seeing questions here, and writing a book on this topic. Calls to data shaping functions such as ShowColumns no longer require double quotes, so that explains the main cause of the original issue that you were seeing.  

     

  • WarrenBelz Profile Picture
    156,940 Most Valuable Professional on at

    @robbieluie ,

    Yes there have been some updates to the syntax by MS since I wrote that blog. I have now updated it if you check again.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard