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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter gallery of docu...
Power Apps
Unanswered

Filter gallery of documents to match attachment box attachment name

(0) ShareShare
ReportReport
Posted on by

I am trying to display non-PDF files in power apps using the Preview PDF feature. The main solution I have seen involves using a gallery connected to a SharePoint Document Library and using "Substitute( gal_Files.Selected.Thumbnail.Large, "/thumbnail", "/pdf" )" in the Document property of the PDF Previewer. 

 

My issue is that I need to filter this gallery of images to be specific to the details form screen it lies in. I do not want the user to see all of the documents in the SharePoint Document Library, only those that are in the attachment box of the form. 

 

If this is not possible, is there another way I can use Preview PDF to display PDF + non-PDF files? 

 

https://youtu.be/vqK29FWbLxU?si=MWf-QKDzUOO-5eSO

Solved: PDF viewer not working - Page 2 - Power Platform Community (microsoft.com)

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard