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 / Unable to show files i...
Power Apps
Answered

Unable to show files in fileattachments control

(0) ShareShare
ReportReport
Posted on by 166
 
I have created two share point list pages 1)is a regular page and 2) As a Document library.
 
I am able to save data in regular page and corresponding docs into document library list page.
 
But when I trying to open the page to view the attachments, the attachment control is readonly and unable to view any attachments
 
Main page with id 204
 
Document library page with parentid as 204
 
 
when i click on the page in edit mode this is what i see in the attachment
 
 
If I open to enter a new record this is what i see
 
 
 
Gallery.Items=>
Filter(AttachmentsLibrary, parentID = SharePointIntegration.Selected.ID)
 
HTML=> 
"<a href='"& ThisItem.'Link to item' &"'>" & ThisItem.'File name with extension' &"</a>"  
Categories:
  • WarrenBelz Profile Picture
    156,940 Most Valuable Professional on at
    What exactly are you trying to do with an attachment control inside a gallery when the file is in a Library ? The HTML link should work, but you do not have anything in the correct format that an attachment control can read.
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps   
  • Verified answer
    PraveenC Profile Picture
    166 on at
    I have created two gallery items.
     
    1) to select the file attachments and to store them in share point list used this link
    2) Created another to view these attachments.
     
    So when user is in New mode i have hidden second gallaery and when user is in edit mode i have hidden the first gallery.
     
    Not sure if this the best solution but this is working for me

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard