cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate I
Advocate I

Downloading a file from CDS datasource on mobile (Android)

I'm trying to download a file stored in CDS in the File datatype field, I've tried  the Download functions in the format below and it works when I run the app from my browser but when I launch the app from a mobile device, nothing happens and I don't get an error message. Is there something I need to do to get it to work on mobile

Download("https:/orgname.crm.dynamics.com/api/data/v9.0/entityname("GUID")/fieldname/$value")

 

When I try to use the launch as below, it also works on y browser in my machine but then when I try it on a mobile device, it tries to open the site address in a browser  and then I get a "Site not found" error. 

Launch("https:/orgname.crm.dynamics.com/api/data/v9.0/entityname("GUID")/fieldname/$value")

 

 

2 REPLIES 2
Microsoft
Microsoft

Hi @Edrei1 

 

The Launch() and Download() functions will take you to the indicated address to get the resources, therefore, you need access in your device to that URL, can you please check if you are able to navigate directly there using the browser? Is there a VPN that you need in order to connect?

 

Best Regards,

If this post helps you give a :thumbs_up: and if it solved your issue consider Accept it as the solution

@chsanche If I log into the CDS environment from the web browser on the device and stay logged in that seems to work. But I don't think that is a viable solution for my users. If I am not logged in, I get the "This Page isn't work"/"Page not Found" error depending on the browser, if it could al least prompt the user to login that would be acceptable but it doesn't.

Is there another method that you're aware of I could use to download a file stored in CDS to a mobile device using in Power Apps?

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (4,502)