cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TheGame
Frequent Visitor

Download File from dataverse table via Teams

Hi

I have a canvas app built inside Power Apps for Teams. I am using a dataverse table with the data type File.

I am able to easily upload files to the table, however I do not know how to download these files through a Gallery. I cannot figure out what the download link is or how to find it.

Any help will be highly appreciated.

Thanks

2 REPLIES 2
rampprakash
Super User
Super User

Hello @TheGame,

 

You can simply pass the Entity Name/Entity ID and Field Name Like below

 

https://orgddfdd862.crm8.dynamics.com/api/data/v9.1/accounts(eb68744b-3b63-46fb-8e42-e0acf58d08fd)/crbff_file/$value?size=full

 

orgddfdd862.crm8.dynamics.com--> URL 

accounts --> Plural name of Entity

eb68744b-3b63-46fb-8e42-e0acf58d08fd --> GUID of Record

crbff_file --> Logical Name of File

 

For Further Reference : https://powerusers.microsoft.com/t5/Microsoft-Dataverse/Downloading-File-from-Data-verse/m-p/1403690...

 

My YouTube Video for your Reference : https://www.youtube.com/watch?v=UvXmgoIfRLI

 

Please mark as Answer if it is helpful and provide Kudos


Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
Blog : https://microsoftcrmtechie.blogspot.com

Thank you @rampprakash . This works well on a standalone Canvas App. However, it doesn't seem to work for a canvas app developed inside of Teams. Could you please try and see if it is the case or am I doing something wrong? 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (1,410)