01-18-2023 00:31 AM - last edited 01-18-2023 23:47 PM
Attachments Viewer Component leverages the Image, PDF Viewer, Audio & Video controls in Power Apps to show PDF files, Office documents (Word, PowerPoint, Excel) & play audio and video files inline directly from SharePoint List Item Attachments.
#PowerApps #SharePoint #Attachments
SharePoint List Item Attachments Viewer Component Setup & Limitations & Download Link:
https://github.com/rdorrani/PowerApps/tree/master/AttachmentsViewer
Thanks,
Reza Dorrani, MVP
YouTube
Twitter
Hi Reza,
Great component which I'm incorporating in an existing app very soon. I had some issues getting it to work initially until I found out it will not take collections as a data source, but using the LookUp function, to refer to the SharePoint data source, this was easily resolved.
I have a question though, as the attachments I'm working with include Emails (.msg extension). I have tried adding the extension to the AttachmentImage control to no effect:
Is there any other way to get thumbnails for .msg files that can be displayed in this control?
Hi @BCBuizer
.msg files thumbnails are not supported.
--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Thanks,
Reza Dorrani, MVP
YouTube
Twitter
Hello @RezaDorrani & @BCBuizer,
Is this component available to display different document types from Azure Blob storage which has the same concept URL as SharePoint?
Awaiting your response.
Best regards,
Julien
Hi @RezaDorrani
Good day! This component is very helpful. I would like to confirm if it is possible to use PDF viewer to display a Word, Excel or PowerPoint document instead. How to edit the component if possible.
Hi,
I have imported the component and copied and pasted the url from my sharepoint site into the tenant section of the code but there is now errors in the code. Any ideas where i am going wrong?
Hi Reza,
Excellent component, I just wanted to bring you attention that the .Result should be changed to .Value