Hi,
This Dataverse table contains a column with attachments.
How to display an icon within a Gallery in a canvas app to allow the users to download the file?
With Sharepoint lists, we'd just use the Launch function with something like:
"ThisItem.Attachments.AbsoluteURI" on the OnSelect property.
But it seems the AbsoluteURI doesn't exist in Dataverse, si how to dowload Dataverse attachments from a Canvas app?
Thanks in advance!
Wanna report that the method below is failed, the file cannot be downloaded ...
The other method is to use attachment control instead of launch/download function in canvas app.
Please take a look at this blog.
Anyone have solution for downloading file in canvas app? Thanks in advance!
Hi @WebPortal ,
Please take a look at this blog-
There are some escape characters in the formula.
So please try something like this:
Launch(glbEnvURL & "/api/data/v9.0/cr8f6_photolocationimages(" & ThisItem.PhotoLocationImage & ")/cr8f6_file/$value")
The other method is to use attachment control instead of launch/download function in canvas app.
Please take a look at this blog.
Best Regards,
Wearsky
WarrenBelz
146,776
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,093
Most Valuable Professional