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

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Unable to show files in fileattachments control

(0) ShareShare
ReportReport
Posted on by 155
 
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:
I have the same question (0)
  • WarrenBelz Profile Picture
    151,635 Most Valuable Professional on at
    Unable to show files in fileattachments control
    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
    155 on at
    Unable to show files in fileattachments control
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 632 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 386 Super User 2025 Season 2

#3
wolenberg_ Profile Picture

wolenberg_ 245 Moderator

Last 30 days Overall leaderboard