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 / Formula Error - Screen...
Power Apps
Unanswered

Formula Error - Screenshot

(0) ShareShare
ReportReport
Posted on by

Hi Everyone,

 

I was looking to add an button into PowerApps that would take the screenshot of the screen and send the same to a customer via email. I found out through forums that PowerApps currently docent have the screenshot functionality. However, I came across a blog post where it could be added as a custom control via importing the code into environment. The below formula that I've used has 2 errors;  Identified not recognized on the first part of the code and the second part displays an error above the formula - your formula is missing a column 'Attachments.ContentBytes' with a type of blob.

 

Please see the below formula and advice the necessary changes that are required. Thanks 

 

ClearCollect(ImageC,{Name: "Screen.jpg", ContentBytes:'btd_btd.screenshot(00000001-0000-0000-0001-00000000009b)1'.OutPut, '@odata.type':""});

Office365Outlook.SendEmailV2("xxx@xxx.com","Report","Please see the attached screenshot.",{Attachments: ImageC});

2.png
1.png
Categories:
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Galaxy11 ,

     

    Could you please share the link of the blog? Maybe we could remind the author of it from in this forum to give you some advice.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Angela23 Profile Picture
    114 on at

    Any solution here?

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 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 223

Last 30 days Overall leaderboard