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 Prodigy
Post Prodigy

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
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (2,441)