Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Suggested answer

Need assistance with query on how to download attachments and display attachments in a gallery

(0) ShareShare
ReportReport
Posted on by 127
How to ensure user is able to download attachments from gallery as well as show attachments submitted by users in gallery. Here is my issue currently the attachment by default is enabled so when user submits a form the attachment data is stored in Notes Dataverse Table , whereas my other info is stored in the customer documents table. so i am having issues with retrieving of attachment as well please help
 
Categories:
  • Suggested answer
    oliver.rodrigues Profile Picture
    9,242 Most Valuable Professional on at
    Need assistance with query on how to download attachments and display attachments in a gallery
    Hi
     
    Is your objective to use the Notes table or the File column directly from the Customer table?
     
    You can expose the column if you need, but that would represent a 1:1, so basically one customer has only 1 document
     
    By using the Notes you can attach multiple documents to the same record (1:N)
  • Suggested answer
    Yaswini24 Profile Picture
    127 on at
    Need assistance with query on how to download attachments and display attachments in a gallery
    I have managed to figure out how to solve it . is not the best solution but it works.
    Really simple i added a timeline section into the form.
    This timeline section collects the notes data and when you submit you can view details and download the attachments.
     
    In the form:


    In the list settings: 
    Input:
    Outcome:
     
    you can try out my method , do not i used 2 different forms one for create and the other for view. both have the same sections in the form. 
  • Yaswini24 Profile Picture
    127 on at
    Need assistance with query on how to download attachments and display attachments in a gallery
    Because Notes Table is not created by me  it is auto created by power pages when let's say you choose the enable attachments for a form. this table stores the attachments as can be seen in the picture below. 
     
    Now my issue is, not sure if you saw the screenshots, but I am not able to get the attachments data from the notes dataverse I have tried multiple ways and nothing seems to work. I tried switching out the gallery to reflect the notes table but it shows the name of the attachment and that's all it does , it does not let you download the attachment or view the attachment. so if you know of any other way please let me know. i also did try adding an attachment field to my actual dataverse which is customer documents but i wasn't able to add documents to the field hence i didn't have a choice but do it this way. 
  • ronaldwalcott Profile Picture
    1,988 on at
    Need assistance with query on how to download attachments and display attachments in a gallery
    What problems are you having retrieving the attachments? Isn't it finding the data?
    Is the Notes table configured as a data source in your gallery?

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,513 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,683 Most Valuable Professional

Leaderboard