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

Help using Launch to open image from CDS

Hello all,

I am attempting to use Launch() to open an image stored in CDS so users can save to local disk. Here are the specifics of our setup:

 

Images are stored in "Site Photos" table (creb9_SitePhotos)

Image column is called "Image" (creb9_image)

ImageID is creb9_ImageID

 

I have a button within a gallery with OnSelect property set to: Launch("https://dispatchworx.crm3.dynamics.com/image/download.aspx?attribute=Image&entity=creb9_sitephotos&i..." & ThisItem.creb9_ImageId) which results in an HTTP Error 500 - Internal Server Error

 

If I update the syntax to: Launch("https://dispatchworx.crm3.dynamics.com/image/download.aspx?attribute=creb9_image&entity=creb9_sitephotos&id=" & ThisItem.creb9_ImageId) the result is an HTTP Error 404 - Not Found

 

This is my first time working with Launch and I am generally inexperience with PowerApps/Dataverse in general.  Any direction would be greatly appreciated!

 

Greg

1 REPLY 1
codevenkat
Post Partisan
Post Partisan

Hi ,

As per MS Documentation, Launch is used to open a webpage with uri, instead of this try https://docs.microsoft.com/en-us/powerapps/developer/data-platform/org-service/samples/set-retrieve-... documentation and see it if it resolves your issue.

 

Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (1,852)