Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Is it possible to create a flow that uses a field in a powerapp to retrieve a specific sharepoint library to view .pdf files?

I currently have a powerapp that is used for tracking equipment in buildings. It would be helpful for users if they could look at a floor plan that would show them where the equipment is located. I've been told on this site that Power Apps has a built-in PDF viewer, but this requires a Power Automate Flow to retrieve it. So, my question is, would it be possible to create a flow that used a field in the record to determine which specific sharepoint library to look at?  e.g. 123 Main Street is the field in the file and it uses that field to look for sharepoint file 123 main street and in that file it has various .pdf files that the user can choose to view.







Super User
Super User

Hi @rfbusa 


Given that the SharePoint data source doesn't need to be added dynamically and all the files are on specific data sources that you can include in your apps, then yes.


The function you need to use is called Filter.

Based on the field (let's call it location), you can then filter documents in a specific library and display them in a gallery.

Filter(<data source>, location = "<location value>")


As mentioned in the beginning, you have to make sure to include the libraries beforehand.


Kind regards,

Please click Accept as Solution if my post answered your question. Like my answer? Consider giving it a Thumbs Up. Others seeking the same answers will be happy you did.

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (87,164)