web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :

SharePoint Attachments Viewer Component

RezaDorrani Profile Picture Posted by RezaDorrani 12,143

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

 

Categories:

Samples

Comments

  • husham86 Profile Picture husham86 50
    Posted at
    SharePoint Attachments Viewer Component

    Hello 

    This is an awesome component thank you very much! for building it.

    I have a list of more than 20000 items some items have multiple attachments how can i use power automate to grab the attachments and display it using the component?

  • wassimbenammar Profile Picture wassimbenammar 72
    Posted at
    SharePoint Attachments Viewer Component

    Hi Reza,

    Excellent component, I just wanted to bring you attention that the .Result should be changed to .Value

  • Hawkins2810 Profile Picture Hawkins2810
    Posted at
    SharePoint Attachments Viewer Component

    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?

  • Community Power Platform Member Profile Picture Community Power Pla...
    Posted at
    SharePoint Attachments Viewer Component

    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.

  • EBMRay Profile Picture EBMRay 1,710
    Posted at
    SharePoint Attachments Viewer Component

    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

  • RezaDorrani Profile Picture RezaDorrani 12,143
    Posted at
    SharePoint Attachments Viewer Component

    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

     

  • BCBuizer Profile Picture BCBuizer 22,505 Super User 2025 Season 2
    Posted at
    SharePoint Attachments Viewer Component

    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:

     

    BCBuizer_0-1637231561111.png

    Is there any other way to get thumbnails for .msg files that can be displayed in this control?