Skip to main content
Microsoft logo
Power Apps
    • AI Builder
    • Automate processes
    • Azure + Power Apps
    • Build apps
    • Connect data
    • Pages
    • Take a guided tour
  • Pricing
    • Blog
    • Customer stories
    • Developer Plan
    • Documentation
    • For IT Leaders
    • Roadmap
    • Self-paced learning
    • Webinars
    • App development topics
    • Overview
    • Issues
    • Give feedback
    • Overview
    • Forums
    • Galleries
    • Submit ideas
    • User groups
    • Register
    • ·
    • Sign in
    • ·
    • Help
    Go To
    • Power Apps Community
    • Welcome to the Community!
    • News & Announcements
    • Get Help with Power Apps
    • Building Power Apps
    • Microsoft Dataverse
    • AI Builder
    • Power Apps Governance and Administering
    • Power Apps Pro Dev & ISV
    • Power Apps Portals
    • Connector Development
    • Power Query
    • GCC, GCCH, DoD - Federal App Makers (FAM)
    • Power Platform Integration - Better Together!
    • Power Platform Integrations
    • Power Platform and Dynamics 365 Integrations
    • Community Blog
    • Power Apps Community Blog
    • Galleries
    • Community Connections & How-To Videos
    • Community App Samples
    • Webinars and Video Gallery
    • Canvas Apps Components Samples
    • Kid Zone
    • Emergency Response Gallery
    • Events
    • 2021 MSBizAppsSummit Gallery
    • 2020 MSBizAppsSummit Gallery
    • 2019 MSBizAppsSummit Gallery
    • Community Engagement
    • Community Calls Conversations
    • Hack Together: Power Platform AI Global Hack
    • Experimental
    • Error Handling
    • Power Apps Experimental Features
    • Community Support
    • Community Accounts & Registration
    • Using the Community
    • Community Feedback
    cancel
    Turn on suggestions
    Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
    Showing results for 
    Search instead for 
    Did you mean: 
    • Power Apps Community
    • Galleries
    • Canvas Apps Components Samples
    • Re: SharePoint Attachments Viewer Component

    Re: SharePoint Attachments Viewer Component

    11-02-2022 07:07 AM

    Julien2
    Kudo Kingpin
    2929 Views
    LinkedIn LinkedIn Facebook Facebook Twitter Twitter
    RezaDorrani
    RezaDorrani Community Champion
    Community Champion
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    SharePoint Attachments Viewer Component

    ‎09-30-2021 07:45 AM

    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

     

    Attachments Viewer Component.msapp
    Labels:
    • Labels:
    • Components
    • Samples
    Message 1 of 7
    4,491 Views
    11 Kudos
    Reply
    • All forum topics
    • Previous Topic
    • Next Topic
    BCBuizer
    Super User BCBuizer
    Super User
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎11-18-2021 02:34 AM

    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?



    Did you like my post? Please give it a thumbs up! Did I resolve your issue? Please click Accept as Solution to close the topic and so other members of the community can find solutions more easily.
    Message 2 of 7
    4,034 Views
    0 Kudos
    Reply
    RezaDorrani
    RezaDorrani Community Champion
    Community Champion
    In response to BCBuizer
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎11-18-2021 08:00 AM

    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

     

    Message 3 of 7
    4,029 Views
    1 Kudo
    Reply
    Julien2
    Julien2 Kudo Kingpin
    Kudo Kingpin
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎11-02-2022 07:07 AM

    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

    Message 4 of 7
    2,929 Views
    0 Kudos
    Reply
    Anonymous
    Not applicable
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎01-18-2023 12:31 AM

    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.

    Message 5 of 7
    2,433 Views
    0 Kudos
    Reply
    Hawkins2810
    Hawkins2810
    New Member
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎04-05-2023 08:53 AM

    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?

    Message 6 of 7
    1,869 Views
    0 Kudos
    Reply
    wassimbenammar
    wassimbenammar Helper I
    Helper I
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎05-20-2023 11:39 PM

    Hi Reza,

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

    Message 7 of 7
    970 Views
    0 Kudos
    Reply

    Power Platform

    • Overview
    • Power BI
    • Power Apps
    • Power Pages
    • Power Automate
    • Power Virtual Agents

    Browse

    • Sample apps
    • Services

    Downloads

    • Windows
    • iOS
    • Android

    Learn

    • Documentation
    • Support
    • Community
    • Give feedback
    • Blog
    • Partners

    • © 2023 Microsoft
    • Follow Power Apps
    • Privacy & cookies
    • Manage cookies
    • Terms of use
    • Trademarks
    Consumer Privacy Act (CCPA) Opt-Out Icon Your Privacy Choices