Notifications
Announcements
Hi Community!
I have a Canvas App to prepare in which I am displaying emails from Dataverse. For the current displayed email message, I also want to display a list of attachments. The attachment list should display the name of the attachment, an icon (Or a small preview) of the attachment, and have the functionality to open the attachment in the Preview window. How can I achieve this? So far I have found two partial ways:
Do you know a way to implement this requirement?
Hi @MaciejPokrzywin ,
You are close. The attachment's content is stored in the attachment table.
They are base64 string.
If you want to show the pdf attachment in canvas pdf viewer control, please try this
Best Regards,
Wearsky
Hi @v-xiaochen-msft, thanks for your reply! One step closer to achieving my goal. Unfortunately, I'm running into another obstacle. The field: "Body" from the attachment table (ActivityMimeAttachment) is not available in the Canvas App. However, as far as I can see this only happens on my environment (On a completely new environment I managed to map what you have shown). I will already report this problem to Microsoft support. Thanks for your help!
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 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268