Posted on by
CU10021407-048Season of Giving Solutions 2025
I have an app that displays files from a sharepoint list. Users can check a checkbox that adds the selected file to a collection (Selectedattached). I have a button that emails these attachments to recipients (label35_2.text). Everything works fine for this ...... formula below.
Office365Outlook.SendEmailV2(
Label35_2.Text,
"Facility File Requested",
"See attached documents",
{
Attachments: ForAll(
Selectedattached,{Name: Label31_2.Text,
ContentBytes:Value
})})
I now want to do the same thing with a different library, however these are files for a sharepoint library, not a list, and i can't get it to work.
You are correct in that it will not work as the actual file content of a SharePoint Library file is not available directly in Power Apps. You can do it easily with a Flow by sending the ID of the Library item and the email Address, Subject and Body.
If it is an Image file, there is a workaround directly in Power Apps using the '{Thumbnail}'.Large rendering (reasonable resolution for screen viewing), but other file types will not work with this.
Please ✅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 answering Yes to Was this reply helpful? or give it a Like ♥
Visit my blog Practical Power AppsLinkedIn
Was this reply helpful?YesNo
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.