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
    • Overview
    • Become a Partner
    • Find a Partner
    • Find partner offers
    • Partner GTM Resources
    • 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
    • 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
    • Webinars and Video Gallery
    • Re: Real World PowerApps - How to view SharePoint ...

    Re: Real World PowerApps - How to view SharePoint PDF's in PowerApps (with some help from Flow)

    04-23-2019 00:26 AM

    SPChamp
    Frequent Visitor
    10450 Views
    LinkedIn LinkedIn Facebook Facebook Twitter Twitter
    paul_culmsee
    paul_culmsee
    MVP
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    Real World PowerApps - How to view SharePoint PDF's in PowerApps (with some help from Flow)

    ‎04-05-2018 04:48 PM

    In this video Daniela (citizen developer extroadinairre) and I outline an effective approach to a common use case of providing critical documents to field staff using PowerApps. It utilises Flow to retrieve PDF from a central SharePoint document library and we also show how to improve the user experience via some clever but less known PowerApps and SharePoint tricks

     

     

    watch?v=s3PC7tqqoI4

    Preview file
    111 KB
    Labels:
    • Labels:
    • Community Tips & Tricks
    • SharePoint Magic
    Message 1 of 12
    12,892 Views
    3 Kudos
    Reply
    • All forum topics
    • Previous Topic
    • Next Topic
    • « Previous
      • 1
      • 2
    • Next »
    ThatAPIGuy
    ThatAPIGuy
    MVP
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎04-06-2018 06:42 AM

    This is super-awesome! mind-blowing!


    Vivek Bavishi aka That API Guy
    PowerApps and Flow MVP
    Blog | Twitter | YouTube | Community Profile | GitHub



    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    Message 2 of 12
    12,671 Views
    0 Kudos
    Reply
    diegoadum
    diegoadum Advocate V
    Advocate V
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎05-30-2018 05:45 AM

    Thanks for sharing this. Very good example of using PowerApps. My only note is about to use Flow. In a large organization with many users trying to get PDF info, how many times will be Flow called? this will affect, for sure,  the kind of license you should get to avoid Flow issues, right?

     

    Regards,

     

    Diego.

    Message 3 of 12
    12,526 Views
    0 Kudos
    Reply
    Anonymous
    Not applicable
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎06-06-2018 09:00 AM

    This was immensely helpful!  I was able to successfully set this up and display my PDFs, but when taking this one step further and exporting the PDF for the ultimate purpose of sending the PDF as an email attachment, I am wondering if there is a way to control the naming convention that is ultimately created for the PDF from the mobile device.  From what I understand, PowerApps does not yet have the ability for me to send a PDF from the PDF Viewer as an email attachment (if I'm wrong and this is another flow I need to build, please let me know!).  The workaround I am using is to export the PDF from the Viewer to a browser using the export feature, and then sending the PDF as an email from the browser.  The file name is automatically named "Invoke.pdf", and I think this may be coming from the file path in Azure (part of the file path includes the phrase "invoke").  Is there a way to assign the file name through the current flow or a new flow?

     

    Message 4 of 12
    12,501 Views
    0 Kudos
    Reply
    SPChamp
    SPChamp
    Frequent Visitor
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎04-22-2019 06:10 AM

    I am trying to get the same functionality for SharePoint list, Identifier is not returning the value like it return for Document library so I tried to construct the one similar as below however still the flow is throwing exception saying "Route did not match".

     

    The Identifier for Document library = Shared%2bDocuments%252fAuditReport.pdf

    The identifier for List = Lists%252fAudits%252f59_.000.

    The identifier constructed = Audits%2FAttachments%2F59%2FAuditReport.pdf

     

    Any thoughts ?

     

     

    {
      "status": 400,
      "message": "Route did not match\r\nclientRequestId: 6ddd739e-c80d-41a5-bf7c-5a4f78f7f1a3\r\nserviceRequestId: b273d59e-a030-0000-377f-fb811e1fd58a"
    }

     

     

    EDIT

     

    Found the solution.

     

    I have a gallery which shows the list items. When user click the gallery item I am fetching the Attachments property and then executing the First() method on it to get the file identifier. Thsi identifier then passed to the Flow built as per above video. It is working just fine.

     

    Now only problem is the action used in this Flow "HTTP request receiver" comes under paid license so need to check the cost on production for this.

    Message 5 of 12
    10,485 Views
    0 Kudos
    Reply
    ThatAPIGuy
    ThatAPIGuy
    MVP
    In response to SPChamp
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎04-22-2019 06:53 AM

    I did a video using a different method and thought it might help. Check it out.

     

    https://youtu.be/_NVU2jfG5Y8?t=27m25s

     

    watch the video from around the 28th mintue 

     

    Also the flow that I used is available here -

    https://github.com/thatapiguy/Sharepoint-Docs-as-PDF-in-PowerApps-using-Flow


    Vivek Bavishi aka That API Guy
    PowerApps and Flow MVP
    Blog | Twitter | YouTube | Community Profile | GitHub



    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    Message 6 of 12
    10,481 Views
    1 Kudo
    Reply
    SPChamp
    SPChamp
    Frequent Visitor
    In response to ThatAPIGuy
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎04-23-2019 12:26 AM

    Looks good however the I guess the flow will take sometime to execute as it involves more steps in reading the content and then converting it etc. Also my PDFs are bit heavier hence need minimal action.

    Message 7 of 12
    10,450 Views
    0 Kudos
    Reply
    dan_harner
    dan_harner
    Frequent Visitor
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎06-26-2019 01:44 PM

    After doing these steps, how would you get the PDF's to revert back to their original state (top of the scroll bar) after someone selects off of the PDF? Sort of like a ResetPDF.

     

     

    Message 8 of 12
    10,011 Views
    0 Kudos
    Reply
    testaccPA
    testaccPA Helper III
    Helper III
    In response to dan_harner
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎11-11-2019 04:51 AM

    thanks, it works, but only with the 1st document ... why?

     

    Update: has done

    Message 9 of 12
    8,954 Views
    0 Kudos
    Reply
    Maexchen
    Maexchen Advocate II
    Advocate II
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎11-13-2019 04:33 AM

    great (NOT), "response" is now a Premium connector 😡

    Message 10 of 12
    8,899 Views
    4 Kudos
    Reply
    • « Previous
      • 1
      • 2
    • Next »

    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
    California Consumer Privacy Act (CCPA) Opt-Out Icon Your California Privacy Choices