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!
Solved! Go to Solution.
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
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
User | Count |
---|---|
258 | |
110 | |
97 | |
57 | |
39 |