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 / CDS Attachments in a G...
Power Apps
Answered

CDS Attachments in a Gallery

(0) ShareShare
ReportReport
Posted on by 91

Hi Everyone, I am wondering if it is possible to display cds attachments with .docx and .pdf files in a gallery and allow users to download those files in their computers? If not a cds entity, should we store the files in azure blob storage or a share point document library to achieve that? Please let me know. Appreciate the help!

Categories:
  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @consultantlk ,

     

    The attachment of CDS entity only returns file as base 64 string format and a filename, It's not the actual URL to a file that the Download function expects.

    Please change to store the file to SharePoint Library, which is a better choice to implement DOWNLOAD feature.

    Set Gallery.OnSelect property to Download(ThisItem.'Link to item')

    Hope this helps.

    Sik

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