Notifications
Announcements
Hi
I am trying to use the Office365sendemail connector which I have used many times before but on this occasion I would like to be able to attach a PDF displayed in a gallery. Can someone please explain the syntax as I am not sure what to use for the ‘contentbytes’ parameter?
Many thanks.
Hi @jed76 ,
If the PDF file is already generated, you would need to send the Identifier of the Library file to Power Automate and then get the content- Flow as below
Power Apps button in the Gallery (example back to User)
EmailLibraryFile.Run( ThisItem.Identifier, User().Email, ThisItem.'File name with extension' )
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
Many thanks Warren. I thought I might be able to do it without involving PowerAutomate but will give this a try. Thank you very much.
The issue with the file already being saved in the Library is that you do not have access to the file content from Power Apps. If it was in an Attachment or Add Picture control, you can do it.
Many thanks. That makes sense.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 765 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 272